Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataUpdate ¶
func NewDataUpdate ¶
func NewDataUpdate(c conf.EventConf) (DataUpdate, error)
type Handle ¶
type Handle func(ctx context.Context) UpdateHandle
type NatsClient ¶
type NatsClient struct {
// contains filtered or unexported fields
}
func (*NatsClient) Subscribe ¶
func (n *NatsClient) Subscribe(handle Handle) error
type UpdateHandle ¶
type UpdateHandle interface { ProductSchemaUpdate(info *events.DeviceUpdateInfo) error DeviceLogLevelUpdate(info *events.DeviceUpdateInfo) error DeviceGatewayUpdate(info *events.GatewayUpdateInfo) error DeviceRemoteConfigUpdate(info *events.DeviceUpdateInfo) error }
Click to show internal directories.
Click to hide internal directories.