Documentation ¶
Overview ¶
Package fib contains generated bindings for API file fib.api.
Contents:
1 struct 4 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type FibSource
- type FibSourceAdd
- func (*FibSourceAdd) GetCrcString() string
- func (*FibSourceAdd) GetMessageName() string
- func (*FibSourceAdd) GetMessageType() api.MessageType
- func (m *FibSourceAdd) Marshal(b []byte) ([]byte, error)
- func (m *FibSourceAdd) Reset()
- func (m *FibSourceAdd) Size() (size int)
- func (m *FibSourceAdd) Unmarshal(b []byte) error
- type FibSourceAddReply
- func (*FibSourceAddReply) GetCrcString() string
- func (*FibSourceAddReply) GetMessageName() string
- func (*FibSourceAddReply) GetMessageType() api.MessageType
- func (m *FibSourceAddReply) Marshal(b []byte) ([]byte, error)
- func (m *FibSourceAddReply) Reset()
- func (m *FibSourceAddReply) Size() (size int)
- func (m *FibSourceAddReply) Unmarshal(b []byte) error
- type FibSourceDetails
- func (*FibSourceDetails) GetCrcString() string
- func (*FibSourceDetails) GetMessageName() string
- func (*FibSourceDetails) GetMessageType() api.MessageType
- func (m *FibSourceDetails) Marshal(b []byte) ([]byte, error)
- func (m *FibSourceDetails) Reset()
- func (m *FibSourceDetails) Size() (size int)
- func (m *FibSourceDetails) Unmarshal(b []byte) error
- type FibSourceDump
- func (*FibSourceDump) GetCrcString() string
- func (*FibSourceDump) GetMessageName() string
- func (*FibSourceDump) GetMessageType() api.MessageType
- func (m *FibSourceDump) Marshal(b []byte) ([]byte, error)
- func (m *FibSourceDump) Reset()
- func (m *FibSourceDump) Size() (size int)
- func (m *FibSourceDump) Unmarshal(b []byte) error
- type RPCService
- type RPCService_FibSourceDumpClient
Constants ¶
View Source
const ( APIFile = "fib" APIVersion = "1.0.0" VersionCrc = 0x4ef4abc1 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type FibSource ¶
type FibSource struct { Priority uint8 `binapi:"u8,name=priority" json:"priority,omitempty"` ID uint8 `binapi:"u8,name=id" json:"id,omitempty"` Name string `binapi:"string[64],name=name" json:"name,omitempty"` }
FibSource defines type 'fib_source'.
type FibSourceAdd ¶
type FibSourceAdd struct {
Src FibSource `binapi:"fib_source,name=src" json:"src,omitempty"`
}
FibSourceAdd defines message 'fib_source_add'.
func (*FibSourceAdd) GetCrcString ¶
func (*FibSourceAdd) GetCrcString() string
func (*FibSourceAdd) GetMessageName ¶
func (*FibSourceAdd) GetMessageName() string
func (*FibSourceAdd) GetMessageType ¶
func (*FibSourceAdd) GetMessageType() api.MessageType
func (*FibSourceAdd) Reset ¶
func (m *FibSourceAdd) Reset()
func (*FibSourceAdd) Size ¶
func (m *FibSourceAdd) Size() (size int)
func (*FibSourceAdd) Unmarshal ¶
func (m *FibSourceAdd) Unmarshal(b []byte) error
type FibSourceAddReply ¶
type FibSourceAddReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` ID uint8 `binapi:"u8,name=id" json:"id,omitempty"` }
FibSourceAddReply defines message 'fib_source_add_reply'.
func (*FibSourceAddReply) GetCrcString ¶
func (*FibSourceAddReply) GetCrcString() string
func (*FibSourceAddReply) GetMessageName ¶
func (*FibSourceAddReply) GetMessageName() string
func (*FibSourceAddReply) GetMessageType ¶
func (*FibSourceAddReply) GetMessageType() api.MessageType
func (*FibSourceAddReply) Reset ¶
func (m *FibSourceAddReply) Reset()
func (*FibSourceAddReply) Size ¶
func (m *FibSourceAddReply) Size() (size int)
func (*FibSourceAddReply) Unmarshal ¶
func (m *FibSourceAddReply) Unmarshal(b []byte) error
type FibSourceDetails ¶
type FibSourceDetails struct {
Src FibSource `binapi:"fib_source,name=src" json:"src,omitempty"`
}
FibSourceDetails defines message 'fib_source_details'.
func (*FibSourceDetails) GetCrcString ¶
func (*FibSourceDetails) GetCrcString() string
func (*FibSourceDetails) GetMessageName ¶
func (*FibSourceDetails) GetMessageName() string
func (*FibSourceDetails) GetMessageType ¶
func (*FibSourceDetails) GetMessageType() api.MessageType
func (*FibSourceDetails) Reset ¶
func (m *FibSourceDetails) Reset()
func (*FibSourceDetails) Size ¶
func (m *FibSourceDetails) Size() (size int)
func (*FibSourceDetails) Unmarshal ¶
func (m *FibSourceDetails) Unmarshal(b []byte) error
type FibSourceDump ¶
type FibSourceDump struct{}
FibSourceDump defines message 'fib_source_dump'.
func (*FibSourceDump) GetCrcString ¶
func (*FibSourceDump) GetCrcString() string
func (*FibSourceDump) GetMessageName ¶
func (*FibSourceDump) GetMessageName() string
func (*FibSourceDump) GetMessageType ¶
func (*FibSourceDump) GetMessageType() api.MessageType
func (*FibSourceDump) Reset ¶
func (m *FibSourceDump) Reset()
func (*FibSourceDump) Size ¶
func (m *FibSourceDump) Size() (size int)
func (*FibSourceDump) Unmarshal ¶
func (m *FibSourceDump) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { FibSourceAdd(ctx context.Context, in *FibSourceAdd) (*FibSourceAddReply, error) FibSourceDump(ctx context.Context, in *FibSourceDump) (RPCService_FibSourceDumpClient, error) }
RPCService defines RPC service fib.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_FibSourceDumpClient ¶
type RPCService_FibSourceDumpClient interface { Recv() (*FibSourceDetails, error) api.Stream }
Click to show internal directories.
Click to hide internal directories.