Documentation ¶
Index ¶
- func NewSubChannel() chan LocalInfrastructureState
- func Publish(evt LocalInfrastructureState)
- func Subscribe(fn func(opts *LocalInfrastructureState)) error
- func SubscribeAsync(fn func(opts *LocalInfrastructureState)) error
- func SubscribeOnce(fn func(opts *LocalInfrastructureState)) error
- type LocalInfrastructureState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSubChannel ¶
func NewSubChannel() chan LocalInfrastructureState
func Publish ¶
func Publish(evt LocalInfrastructureState)
func Subscribe ¶
func Subscribe(fn func(opts *LocalInfrastructureState)) error
func SubscribeAsync ¶
func SubscribeAsync(fn func(opts *LocalInfrastructureState)) error
func SubscribeOnce ¶
func SubscribeOnce(fn func(opts *LocalInfrastructureState)) error
Types ¶
Click to show internal directories.
Click to hide internal directories.