MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / SetSubscriberStore

Method SetSubscriberStore

internal/agent/api.go:235–237  ·  view source on GitHub ↗

SetSubscriberStore wires the subscriber-store dependency after NewAPI. Same optional-setter convention as SetEnforcer / etc.

(s *webhook.SubscriberStore)

Source from the content-addressed store, hash-verified

233// SetSubscriberStore wires the subscriber-store dependency after
234// NewAPI. Same optional-setter convention as SetEnforcer / etc.
235func (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

Callers 6

TestServerFunction · 0.95
NewEventsAPIHarnessFunction · 0.95
StartContractServerFunction · 0.95
newConsentFixtureFunction · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by 3

TestServerFunction · 0.76
newConsentFixtureFunction · 0.76