mdata

package
v0.9.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mdata contains generated bindings for API file mdata.api.

Contents: - 2 messages

Index

Constants

View Source
const (
	APIFile    = "mdata"
	APIVersion = "0.1.0"
	VersionCrc = 0x5bd69477
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

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) Marshal

func (m *MdataEnableDisable) Marshal(b []byte) ([]byte, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL