Documentation ¶
Overview ¶
Package memory provides a message broker using memory.
Index ¶
- type Broker
- func (br *Broker) CheckHealth(ctx context.Context) error
- func (br *Broker) Close(ctx context.Context) error
- func (br *Broker) Open(ctx context.Context) error
- func (br *Broker) Publish(ctx context.Context, topic string, m *broker.Message, ...) error
- func (br *Broker) Subscribe(ctx context.Context, topic string, h broker.Handler, ...) (broker.Subscriber, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
Broker is a memory message broker.
func (*Broker) CheckHealth ¶ added in v0.2.1
CheckHealth implements health.Checker interface.
Click to show internal directories.
Click to hide internal directories.