MCPcopy Index your code
hub / github.com/coder/coder / Publish

Method Publish

coderd/database/pubsub/pubsub.go:42–42  ·  view source on GitHub ↗
(event string, message []byte)

Source from the content-addressed store, hash-verified

40
41type Publisher interface {
42 Publish(event string, message []byte) error
43}
44
45// Pubsub is a generic interface for broadcasting and receiving messages.

Callers 15

NewFunction · 0.65
publishWorkspaceEventFunction · 0.65
TestWatchChatsFunction · 0.65
publishTemplateUpdateMethod · 0.65
publishChatTitleChangeFunction · 0.65
publishChatConfigEventFunction · 0.65
dispatchMethod · 0.65

Calls

no outgoing calls

Tested by 15

publishWorkspaceEventFunction · 0.52
TestWatchChatsFunction · 0.52
TestDriverFunction · 0.52
TestPubsubMemoryFunction · 0.52
TestPGPubsub_MetricsFunction · 0.52
TestPGPubsubDriverFunction · 0.52
TestPubsubFunction · 0.52
TestPubsub_orderingFunction · 0.52
TestPubsub_DisconnectFunction · 0.52
TestMeasureLatencyFunction · 0.52
PublishMethod · 0.52