Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
Event an event published by certain services that notify that a certain progress has been made
type Observer ¶
type Observer interface {
Notify(evt Event)
}
Observer is an entity that wishes to receive progress events
type ObserverChain ¶
type ObserverChain struct {
// contains filtered or unexported fields
}
ObserverChain iterate on all the observers for notify
func (*ObserverChain) Join ¶
func (chain *ObserverChain) Join(obs Observer)
Join will add observer to listen for notify events
Click to show internal directories.
Click to hide internal directories.