Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observer ¶
type Observer interface {
Refresh()
}
Observer interface is used to store object that needed to be refreshed in each CA loop. It returns error and a bool value whether the loop should be skipped.
type ObserversList ¶
type ObserversList struct {
// contains filtered or unexported fields
}
ObserversList interface is used to store objects that needed to be refreshed in each CA loop.
func NewObserversList ¶
func NewObserversList(observers []Observer) *ObserversList
NewObserversList return new ObserversList.
func (*ObserversList) Refresh ¶
func (l *ObserversList) Refresh()
Refresh refresh observers each CA loop.
Click to show internal directories.
Click to hide internal directories.