Documentation ¶
Overview ¶
Package mdata contains generated bindings for API file mdata.api.
Contents: - 2 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type MdataEnableDisable
- func (*MdataEnableDisable) GetCrcString() string
- func (*MdataEnableDisable) GetMessageName() string
- func (*MdataEnableDisable) GetMessageType() api.MessageType
- func (m *MdataEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *MdataEnableDisable) Reset()
- func (m *MdataEnableDisable) Size() (size int)
- func (m *MdataEnableDisable) Unmarshal(b []byte) error
- type MdataEnableDisableReply
- func (*MdataEnableDisableReply) GetCrcString() string
- func (*MdataEnableDisableReply) GetMessageName() string
- func (*MdataEnableDisableReply) GetMessageType() api.MessageType
- func (m *MdataEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *MdataEnableDisableReply) Reset()
- func (m *MdataEnableDisableReply) Size() (size int)
- func (m *MdataEnableDisableReply) Unmarshal(b []byte) error
- type RPCService
Constants ¶
View Source
const ( APIFile = "mdata" APIVersion = "0.1.0" VersionCrc = 0x5bd69477 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type MdataEnableDisable ¶
type MdataEnableDisable struct {
EnableDisable bool `binapi:"bool,name=enable_disable" json:"enable_disable,omitempty"`
}
@brief API to enable / disable mdata on an interface
- enable_disable - 1 to enable, 0 to disable the feature
MdataEnableDisable defines message 'mdata_enable_disable'.
func (*MdataEnableDisable) GetCrcString ¶
func (*MdataEnableDisable) GetCrcString() string
func (*MdataEnableDisable) GetMessageName ¶
func (*MdataEnableDisable) GetMessageName() string
func (*MdataEnableDisable) GetMessageType ¶
func (*MdataEnableDisable) GetMessageType() api.MessageType
func (*MdataEnableDisable) Reset ¶
func (m *MdataEnableDisable) Reset()
func (*MdataEnableDisable) Size ¶
func (m *MdataEnableDisable) Size() (size int)
func (*MdataEnableDisable) Unmarshal ¶
func (m *MdataEnableDisable) Unmarshal(b []byte) error
type MdataEnableDisableReply ¶
type MdataEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
MdataEnableDisableReply defines message 'mdata_enable_disable_reply'.
func (*MdataEnableDisableReply) GetCrcString ¶
func (*MdataEnableDisableReply) GetCrcString() string
func (*MdataEnableDisableReply) GetMessageName ¶
func (*MdataEnableDisableReply) GetMessageName() string
func (*MdataEnableDisableReply) GetMessageType ¶
func (*MdataEnableDisableReply) GetMessageType() api.MessageType
func (*MdataEnableDisableReply) Marshal ¶
func (m *MdataEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*MdataEnableDisableReply) Reset ¶
func (m *MdataEnableDisableReply) Reset()
func (*MdataEnableDisableReply) Size ¶
func (m *MdataEnableDisableReply) Size() (size int)
func (*MdataEnableDisableReply) Unmarshal ¶
func (m *MdataEnableDisableReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface {
MdataEnableDisable(ctx context.Context, in *MdataEnableDisable) (*MdataEnableDisableReply, error)
}
RPCService defines RPC service mdata.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
Click to show internal directories.
Click to hide internal directories.