Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceCommandType ¶
type DeviceCommandType string
const ( DeviceCommandGet DeviceCommandType = "get" DeviceCommandAdd DeviceCommandType = "add" DeviceCommandRemove DeviceCommandType = "remove" )
type IDeviceCommand ¶
type IDeviceCommand interface {
ToMap() map[string]interface{}
GetType() DeviceCommandType
}
type IDeviceResponse ¶
type IDeviceResponse interface {
GetType() DeviceCommandType
SetError(err error)
GetError() error
}
Click to show internal directories.
Click to hide internal directories.