Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶
func NewSubscriber() *Subscriber
func (*Subscriber) Subscribe ¶
func (b *Subscriber) Subscribe(str string) (<-chan struct{}, func())
func (*Subscriber) Trigger ¶
func (b *Subscriber) Trigger(str string)
Click to show internal directories.
Click to hide internal directories.