MCPcopy
hub / github.com/redis/go-redis / Publish

Method Publish

pubsub_commands.go:10–10  ·  view source on GitHub ↗
(ctx context.Context, channel string, message interface{})

Source from the content-addressed store, hash-verified

8
9type PubSubCmdable interface {
10 Publish(ctx context.Context, channel string, message interface{}) *IntCmd
11 SPublish(ctx context.Context, channel string, message interface{}) *IntCmd
12 PubSubChannels(ctx context.Context, pattern string) *StringSliceCmd
13 PubSubNumSub(ctx context.Context, channels ...string) *MapStringIntCmd

Callers 9

pubsub_test.goFile · 0.65
sentinel_test.goFile · 0.65
osscluster_test.goFile · 0.65
ExamplePubSubFunction · 0.65
ExamplePubSub_ReceiveFunction · 0.65
tls_test.goFile · 0.65
redis_test.goFile · 0.65
floodThePoolFunction · 0.65

Calls

no outgoing calls

Tested by 2

ExamplePubSubFunction · 0.52
ExamplePubSub_ReceiveFunction · 0.52