SetSubscriberStore wires the subscriber-store dependency after NewAPI. Same optional-setter convention as SetEnforcer / etc.
(s *webhook.SubscriberStore)
| 233 | // SetSubscriberStore wires the subscriber-store dependency after |
| 234 | // NewAPI. Same optional-setter convention as SetEnforcer / etc. |
| 235 | func (a *API) SetSubscriberStore(s *webhook.SubscriberStore) { |
| 236 | a.subscriberStore = s |
| 237 | } |
| 238 | |
| 239 | // SetPublisher wires the LEGACY in-process fan-out publisher. Kept |
| 240 | // during the slice-4→slice-11 rollout window. Safe to leave nil in |
no outgoing calls