Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrClosed = errors.New("pub/sub is closed") ErrNoSubscribe = errors.New("no subscribe") )
Functions ¶
This section is empty.
Types ¶
type MessageCallback ¶
type MessageCallback func(Message)
type MessageChan ¶
type MessageChan chan Message
type OptionFunc ¶
type OptionFunc func(*Options)
func WithBufferSize ¶
func WithBufferSize(size int) OptionFunc
Click to show internal directories.
Click to hide internal directories.