Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface { Publisher Subscriber }
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
func (*Memory) Subscribe ¶
func (m *Memory) Subscribe(topics ...string) Subscription
type Subscriber ¶
type Subscriber interface {
Subscribe(topics ...string) Subscription
}
type Subscription ¶
type Subscription interface { Wait() <-chan []byte Close() }
Click to show internal directories.
Click to hide internal directories.