Documentation ¶
Index ¶
- func NewInMemory(log logger.Logger) pubsub.PubSub
- type Plugin
- func (p *Plugin) Connections(topic string, res map[string]struct{})
- func (p *Plugin) Next() (*websocketsv1.Message, error)
- func (p *Plugin) Publish(message []byte) error
- func (p *Plugin) PublishAsync(message []byte)
- func (p *Plugin) Subscribe(connectionID string, topics ...string) error
- func (p *Plugin) Unsubscribe(connectionID string, topics ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.