Documentation ¶
Overview ¶
Generated by github.com/bobwong89757/protoplus DO NOT EDIT!
Index ¶
- Variables
- func GetMessageHandler(svcName string) cellnet.EventCallback
- type AuthACK
- type AuthREQ
- type ClearKeyACK
- type ClearKeyREQ
- type ClearSvcACK
- type ClearSvcREQ
- type DeleteValueACK
- type DeleteValueREQ
- type GetValueACK
- type GetValueREQ
- type ResultCode
- type SetValueACK
- type SetValueREQ
- type ValueChangeNotifyACK
- type ValueDeleteNotifyACK
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Handle_Memsd_AuthREQ = func(ev cellnet.Event) { panic("'AuthREQ' not handled") } Handle_Memsd_ClearKeyREQ = func(ev cellnet.Event) { panic("'ClearKeyREQ' not handled") } Handle_Memsd_ClearSvcREQ = func(ev cellnet.Event) { panic("'ClearSvcREQ' not handled") } Handle_Memsd_DeleteValueREQ = func(ev cellnet.Event) { panic("'DeleteValueREQ' not handled") } Handle_Memsd_GetValueREQ = func(ev cellnet.Event) { panic("'GetValueREQ' not handled") } Handle_Memsd_SetValueREQ = func(ev cellnet.Event) { panic("'SetValueREQ' not handled") } Handle_Memsd_Default func(ev cellnet.Event) )
memsd
View Source
var ( ResultCodeMapperValueByName = map[string]int32{ "Result_OK": 0, "Result_NotExists": 1, "Result_AuthRequire": 2, } ResultCodeMapperNameByValue = map[int32]string{ 0: "Result_OK", 1: "Result_NotExists", 2: "Result_AuthRequire", } )
Functions ¶
func GetMessageHandler ¶
func GetMessageHandler(svcName string) cellnet.EventCallback
Types ¶
type ClearKeyACK ¶
type ClearKeyACK struct {
Code ResultCode
}
func (*ClearKeyACK) Size ¶
func (self *ClearKeyACK) Size() (ret int)
func (*ClearKeyACK) String ¶
func (self *ClearKeyACK) String() string
type ClearKeyREQ ¶
type ClearKeyREQ struct { }
func (*ClearKeyREQ) Size ¶
func (self *ClearKeyREQ) Size() (ret int)
func (*ClearKeyREQ) String ¶
func (self *ClearKeyREQ) String() string
type ClearSvcACK ¶
type ClearSvcACK struct {
Code ResultCode
}
func (*ClearSvcACK) Size ¶
func (self *ClearSvcACK) Size() (ret int)
func (*ClearSvcACK) String ¶
func (self *ClearSvcACK) String() string
type ClearSvcREQ ¶
type ClearSvcREQ struct { }
func (*ClearSvcREQ) Size ¶
func (self *ClearSvcREQ) Size() (ret int)
func (*ClearSvcREQ) String ¶
func (self *ClearSvcREQ) String() string
type DeleteValueACK ¶
type DeleteValueACK struct { Code ResultCode Key string }
func (*DeleteValueACK) Size ¶
func (self *DeleteValueACK) Size() (ret int)
func (*DeleteValueACK) String ¶
func (self *DeleteValueACK) String() string
type DeleteValueREQ ¶
type DeleteValueREQ struct {
Key string
}
func (*DeleteValueREQ) Size ¶
func (self *DeleteValueREQ) Size() (ret int)
func (*DeleteValueREQ) String ¶
func (self *DeleteValueREQ) String() string
type GetValueACK ¶
type GetValueACK struct { Code ResultCode Key string Value []byte }
func (*GetValueACK) Size ¶
func (self *GetValueACK) Size() (ret int)
func (*GetValueACK) String ¶
func (self *GetValueACK) String() string
type GetValueREQ ¶
type GetValueREQ struct {
Key string
}
func (*GetValueREQ) Size ¶
func (self *GetValueREQ) Size() (ret int)
func (*GetValueREQ) String ¶
func (self *GetValueREQ) String() string
type ResultCode ¶
type ResultCode int32
const ( ResultCode_Result_OK ResultCode = 0 ResultCode_Result_NotExists ResultCode = 1 ResultCode_Result_AuthRequire ResultCode = 2 )
func (ResultCode) String ¶
func (self ResultCode) String() string
type SetValueACK ¶
type SetValueACK struct {
Code ResultCode
}
func (*SetValueACK) Size ¶
func (self *SetValueACK) Size() (ret int)
func (*SetValueACK) String ¶
func (self *SetValueACK) String() string
type SetValueREQ ¶
func (*SetValueREQ) Size ¶
func (self *SetValueREQ) Size() (ret int)
func (*SetValueREQ) String ¶
func (self *SetValueREQ) String() string
type ValueChangeNotifyACK ¶
func (*ValueChangeNotifyACK) Marshal ¶
func (self *ValueChangeNotifyACK) Marshal(buffer *proto.Buffer) error
func (*ValueChangeNotifyACK) Size ¶
func (self *ValueChangeNotifyACK) Size() (ret int)
func (*ValueChangeNotifyACK) String ¶
func (self *ValueChangeNotifyACK) String() string
type ValueDeleteNotifyACK ¶
func (*ValueDeleteNotifyACK) Marshal ¶
func (self *ValueDeleteNotifyACK) Marshal(buffer *proto.Buffer) error
func (*ValueDeleteNotifyACK) Size ¶
func (self *ValueDeleteNotifyACK) Size() (ret int)
func (*ValueDeleteNotifyACK) String ¶
func (self *ValueDeleteNotifyACK) String() string
Click to show internal directories.
Click to hide internal directories.