Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModeLevel = iota ModeEdge )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChanObserver ¶
type ChanObserver struct {
C chan interface{}
// contains filtered or unexported fields
}
func NewChanObserver ¶
func NewChanObserver(options ...ChanObserverOption) *ChanObserver
func (*ChanObserver) Update ¶
func (co *ChanObserver) Update(data interface{})
type ChanObserverOption ¶
type ChanObserverOption func(*ChanObserver)
func ChanObserverOptionMode ¶
func ChanObserverOptionMode(mode Mode) ChanObserverOption
Click to show internal directories.
Click to hide internal directories.