Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Channel *channel Device *device Persist *persist Type voType )
Functions ¶
This section is empty.
Types ¶
type ChannelRequestVO ¶
type ChannelRespondVO ¶
type ChannelRespondVO struct { Type string `json:"type"` Uuid string `json:"uuid"` Name string `json:"name"` Mode string `json:"mode"` Send interface{} `json:"send"` Recv interface{} `json:"recv"` Timeout int `json:"timeout"` Msg string `json:"msg"` Code int `json:"code"` }
func (*ChannelRespondVO) BindRequestVO ¶ added in v1.0.4
func (e *ChannelRespondVO) BindRequestVO(vo *ChannelRequestVO)
func (*ChannelRespondVO) Error ¶ added in v1.0.4
func (e *ChannelRespondVO) Error(requestVO *ChannelRequestVO, msg string) *ChannelRespondVO
func (*ChannelRespondVO) Ok ¶ added in v1.0.4
func (e *ChannelRespondVO) Ok(requestVO *ChannelRequestVO) *ChannelRespondVO
type OperateRequestVO ¶
type OperateRequestVO struct { Uuid string `json:"uuid"` OperateMode string `json:"operateMode"` OperateName string `json:"operateName"` Manufacturer string `json:"manufacturer"` DeviceType string `json:"deviceType"` DeviceName string `json:"deviceName"` Param map[string]interface{} `json:"param"` Timeout int `json:"timeout"` Record bool `json:"record"` }
func (*OperateRequestVO) BindRequestMap ¶ added in v1.0.4
func (e *OperateRequestVO) BindRequestMap(data map[string]interface{})
func (*OperateRequestVO) New ¶ added in v1.0.4
func (e *OperateRequestVO) New() *OperateRequestVO
type OperateRespondVO ¶
type OperateRespondVO struct { Uuid string `json:"uuid"` OperateMode string `json:"operateMode"` OperateName string `json:"operateName"` Manufacturer string `json:"manufacturer"` DeviceType string `json:"deviceType"` DeviceName string `json:"deviceName"` Param map[string]interface{} `json:"param"` Timeout int `json:"timeout"` Record bool `json:"record"` Data map[string]interface{} `json:"data"` Msg string `json:"msg"` Code int `json:"code"` }
func (*OperateRespondVO) BindRequestVO ¶
func (e *OperateRespondVO) BindRequestVO(vo *OperateRequestVO)
func (*OperateRespondVO) BindRespondMap ¶ added in v1.0.4
func (e *OperateRespondVO) BindRespondMap(data map[string]interface{})
func (*OperateRespondVO) BindRespondVO ¶
func (e *OperateRespondVO) BindRespondVO(vo *OperateRespondVO)
type RestFulRequestVO ¶
type RestFulRespondVO ¶
type RestFulRespondVO struct { Uuid string `json:"uuid"` Method string `json:"method"` Uri string `json:"uri"` Data interface{} `json:"data"` Msg string `json:"msg"` Code int `json:"code"` }
func (*RestFulRespondVO) BindRequestVO ¶ added in v1.0.4
func (e *RestFulRespondVO) BindRequestVO(vo *RestFulRequestVO)
func (*RestFulRespondVO) BindRespondVO ¶ added in v1.0.4
func (e *RestFulRespondVO) BindRespondVO(vo *RestFulRequestVO)
type TaskRequestVO ¶
type TaskRequestVO struct { Uuid string `json:"uuid"` ClientName string `json:"clientName"` Timeout int `json:"timeout"` RequestVOS []*OperateRequestVO `json:"requestVOS"` }
type TaskRespondVO ¶
type TaskRespondVO struct { Uuid string `json:"uuid"` ClientName string `json:"clientName"` Timeout int `json:"timeout"` RespondVOS []*OperateRespondVO `json:"respondVOS"` Msg string `json:"msg"` Code int `json:"code"` }
func (*TaskRespondVO) BuildRespondVO ¶ added in v1.0.4
func (e *TaskRespondVO) BuildRespondVO(operateRespondVO *OperateRespondVO, clientName string) *TaskRespondVO
func (*TaskRespondVO) New ¶ added in v1.0.4
func (e *TaskRespondVO) New() *TaskRespondVO
Source Files
¶
- FoxEdgeVO.go
- FoxEntity.go
- GlobalVar.go
- RedisListChannelClientReport.go
- RedisListChannelClientRequest.go
- RedisListChannelClientRespond.go
- RedisListChannelServerReport.go
- RedisListChannelServerRequest.go
- RedisListChannelServerRespond.go
- RedisListDeviceClientReport.go
- RedisListDeviceClientRequest.go
- RedisListDeviceClientRespond.go
- RedisListDeviceServerReport.go
- RedisListDeviceServerRequest.go
- RedisListDeviceServerRespond.go
- RedisListPersistClientManageRequest.go
- RedisListPersistClientManageRespond.go
- RedisListPersistClientRecordRequest.go
- RedisListPersistClientValueRequest.go
- RedisListPersistServerManageRequest.go
- RedisListPersistServerManageRespond.go
- RedisListPersistServerRecordRequest.go
- RedisListPersistServerValueRequest.go
Click to show internal directories.
Click to hide internal directories.