MCPcopy Create free account
hub / github.com/corestoreio/pkg / Subscribe

Method Subscribe

config/service_pubsub.go:50–50  ·  view source on GitHub ↗

Subscribe subscribes a MessageReceiver to a fully qualified path. Path allows you to filter to which path or part of a path you would like to listen. A path can be e.g. "system/smtp/host" to receive messages by single host changes or "system/smtp" to receive message from all smtp changes or "system"

(fqPath string, mr MessageReceiver)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

SubscribeMethod · 0.65
TestPubSubBubblingFunction · 0.65
TestPubSubPanicSimpleFunction · 0.65
TestPubSubPanicErrorFunction · 0.65
TestPubSubPanicMultipleFunction · 0.65
TestPubSubUnsubscribeFunction · 0.65
TestPubSubEvictFunction · 0.65

Implementers 3

FakeServiceconfig/fake.go
Serviceconfig/service.go
pubSubconfig/service_pubsub.go

Calls

no outgoing calls

Tested by 6

TestPubSubBubblingFunction · 0.52
TestPubSubPanicSimpleFunction · 0.52
TestPubSubPanicErrorFunction · 0.52
TestPubSubPanicMultipleFunction · 0.52
TestPubSubUnsubscribeFunction · 0.52
TestPubSubEvictFunction · 0.52