Documentation ¶ Index ¶ type Notifier func NewNotifier() *Notifier func (n Notifier) Close() func (n *Notifier) NotifyAll(data []byte) func (n *Notifier) NotifyOne(id uint64, data []byte) func (n *Notifier) Subscribe(ch chan []byte) uint64 func (n *Notifier) Unsubscribe(id uint64) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Notifier ¶ type Notifier struct { // contains filtered or unexported fields } func NewNotifier ¶ func NewNotifier() *Notifier func (Notifier) Close ¶ added in v0.0.8 func (n Notifier) Close() func (*Notifier) NotifyAll ¶ func (n *Notifier) NotifyAll(data []byte) func (*Notifier) NotifyOne ¶ func (n *Notifier) NotifyOne(id uint64, data []byte) func (*Notifier) Subscribe ¶ func (n *Notifier) Subscribe(ch chan []byte) uint64 func (*Notifier) Unsubscribe ¶ func (n *Notifier) Unsubscribe(id uint64) Source Files ¶ View all Source files notifier.go Click to show internal directories. Click to hide internal directories.