Documentation ¶
Index ¶
- func NewBroker(_ ...broker.Option) broker.Broker
- type NoOp
- func (n NoOp) Address() string
- func (n NoOp) Connect() error
- func (n NoOp) Disconnect() error
- func (n NoOp) Init(_ ...broker.Option) error
- func (n NoOp) Options() broker.Options
- func (n NoOp) Publish(topic string, m *broker.Message, opts ...broker.PublishOption) error
- func (n NoOp) String() string
- func (n NoOp) Subscribe(topic string, h broker.Handler, opts ...broker.SubscribeOption) (broker.Subscriber, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.