Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LastState ¶
type LastState struct { Timestamp int64 `json:"timestamp"` Payload interface{} `json:"payload"` }
struct date, payload
type NinjaStateManager ¶
type NinjaStateManager struct { sync.Mutex Conn *ninja.Connection `inject:""` // contains filtered or unexported fields }
func (*NinjaStateManager) Merge ¶
func (sm *NinjaStateManager) Merge(thing *model.Thing)
func (*NinjaStateManager) PostConstruct ¶
func (sm *NinjaStateManager) PostConstruct() error
func (*NinjaStateManager) Reset ¶
func (sm *NinjaStateManager) Reset()
type StateManager ¶
func NewStateManager ¶
func NewStateManager() StateManager
Click to show internal directories.
Click to hide internal directories.