cdp

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

Contents:

2 messages

Index

Constants

View Source
const (
	APIFile    = "cdp"
	APIVersion = "1.0.0"
	VersionCrc = 0x8cfa825e
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type CdpEnableDisable

type CdpEnableDisable struct {
	EnableDisable bool `binapi:"bool,name=enable_disable" json:"enable_disable,omitempty"`
}

CdpEnableDisable defines message 'cdp_enable_disable'.

func (*CdpEnableDisable) GetCrcString

func (*CdpEnableDisable) GetCrcString() string

func (*CdpEnableDisable) GetMessageName

func (*CdpEnableDisable) GetMessageName() string

func (*CdpEnableDisable) GetMessageType

func (*CdpEnableDisable) GetMessageType() api.MessageType

func (*CdpEnableDisable) Marshal

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

func (*CdpEnableDisable) Reset

func (m *CdpEnableDisable) Reset()

func (*CdpEnableDisable) Size

func (m *CdpEnableDisable) Size() (size int)

func (*CdpEnableDisable) Unmarshal

func (m *CdpEnableDisable) Unmarshal(b []byte) error

type CdpEnableDisableReply

type CdpEnableDisableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

CdpEnableDisableReply defines message 'cdp_enable_disable_reply'.

func (*CdpEnableDisableReply) GetCrcString

func (*CdpEnableDisableReply) GetCrcString() string

func (*CdpEnableDisableReply) GetMessageName

func (*CdpEnableDisableReply) GetMessageName() string

func (*CdpEnableDisableReply) GetMessageType

func (*CdpEnableDisableReply) GetMessageType() api.MessageType

func (*CdpEnableDisableReply) Marshal

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

func (*CdpEnableDisableReply) Reset

func (m *CdpEnableDisableReply) Reset()

func (*CdpEnableDisableReply) Size

func (m *CdpEnableDisableReply) Size() (size int)

func (*CdpEnableDisableReply) Unmarshal

func (m *CdpEnableDisableReply) Unmarshal(b []byte) error

type RPCService

type RPCService interface {
	CdpEnableDisable(ctx context.Context, in *CdpEnableDisable) (*CdpEnableDisableReply, error)
}

RPCService defines RPC service cdp.

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