Documentation ¶
Overview ¶
Package vpe contains generated bindings for API file vpe.api.
Contents: - 6 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type LogDetails
- func (*LogDetails) GetCrcString() string
- func (*LogDetails) GetMessageName() string
- func (*LogDetails) GetMessageType() api.MessageType
- func (m *LogDetails) Marshal(b []byte) ([]byte, error)
- func (m *LogDetails) Reset()
- func (m *LogDetails) Size() (size int)
- func (m *LogDetails) Unmarshal(b []byte) error
- type LogDump
- type RPCService
- type RPCService_LogDumpClient
- type ShowVersion
- func (*ShowVersion) GetCrcString() string
- func (*ShowVersion) GetMessageName() string
- func (*ShowVersion) GetMessageType() api.MessageType
- func (m *ShowVersion) Marshal(b []byte) ([]byte, error)
- func (m *ShowVersion) Reset()
- func (m *ShowVersion) Size() (size int)
- func (m *ShowVersion) Unmarshal(b []byte) error
- type ShowVersionReply
- func (*ShowVersionReply) GetCrcString() string
- func (*ShowVersionReply) GetMessageName() string
- func (*ShowVersionReply) GetMessageType() api.MessageType
- func (m *ShowVersionReply) Marshal(b []byte) ([]byte, error)
- func (m *ShowVersionReply) Reset()
- func (m *ShowVersionReply) Size() (size int)
- func (m *ShowVersionReply) Unmarshal(b []byte) error
- type ShowVpeSystemTime
- func (*ShowVpeSystemTime) GetCrcString() string
- func (*ShowVpeSystemTime) GetMessageName() string
- func (*ShowVpeSystemTime) GetMessageType() api.MessageType
- func (m *ShowVpeSystemTime) Marshal(b []byte) ([]byte, error)
- func (m *ShowVpeSystemTime) Reset()
- func (m *ShowVpeSystemTime) Size() (size int)
- func (m *ShowVpeSystemTime) Unmarshal(b []byte) error
- type ShowVpeSystemTimeReply
- func (*ShowVpeSystemTimeReply) GetCrcString() string
- func (*ShowVpeSystemTimeReply) GetMessageName() string
- func (*ShowVpeSystemTimeReply) GetMessageType() api.MessageType
- func (m *ShowVpeSystemTimeReply) Marshal(b []byte) ([]byte, error)
- func (m *ShowVpeSystemTimeReply) Reset()
- func (m *ShowVpeSystemTimeReply) Size() (size int)
- func (m *ShowVpeSystemTimeReply) Unmarshal(b []byte) error
Constants ¶
View Source
const ( APIFile = "vpe" APIVersion = "1.7.0" VersionCrc = 0xbbfa7484 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type LogDetails ¶
type LogDetails struct { Timestamp vpe_types.Timestamp `binapi:"timestamp,name=timestamp" json:"timestamp,omitempty"` Level vpe_types.LogLevel `binapi:"log_level,name=level" json:"level,omitempty"` MsgClass string `binapi:"string[32],name=msg_class" json:"msg_class,omitempty"` Message string `binapi:"string[256],name=message" json:"message,omitempty"` }
LogDetails defines message 'log_details'.
func (*LogDetails) GetCrcString ¶
func (*LogDetails) GetCrcString() string
func (*LogDetails) GetMessageName ¶
func (*LogDetails) GetMessageName() string
func (*LogDetails) GetMessageType ¶
func (*LogDetails) GetMessageType() api.MessageType
func (*LogDetails) Reset ¶
func (m *LogDetails) Reset()
func (*LogDetails) Size ¶
func (m *LogDetails) Size() (size int)
func (*LogDetails) Unmarshal ¶
func (m *LogDetails) Unmarshal(b []byte) error
type LogDump ¶
type LogDump struct {
StartTimestamp vpe_types.Timestamp `binapi:"timestamp,name=start_timestamp" json:"start_timestamp,omitempty"`
}
LogDump defines message 'log_dump'.
func (*LogDump) GetCrcString ¶
func (*LogDump) GetMessageName ¶
func (*LogDump) GetMessageType ¶
func (*LogDump) GetMessageType() api.MessageType
type RPCService ¶
type RPCService interface { LogDump(ctx context.Context, in *LogDump) (RPCService_LogDumpClient, error) ShowVersion(ctx context.Context, in *ShowVersion) (*ShowVersionReply, error) ShowVpeSystemTime(ctx context.Context, in *ShowVpeSystemTime) (*ShowVpeSystemTimeReply, error) }
RPCService defines RPC service vpe.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_LogDumpClient ¶
type RPCService_LogDumpClient interface { Recv() (*LogDetails, error) api.Stream }
type ShowVersion ¶
type ShowVersion struct{}
ShowVersion defines message 'show_version'.
func (*ShowVersion) GetCrcString ¶
func (*ShowVersion) GetCrcString() string
func (*ShowVersion) GetMessageName ¶
func (*ShowVersion) GetMessageName() string
func (*ShowVersion) GetMessageType ¶
func (*ShowVersion) GetMessageType() api.MessageType
func (*ShowVersion) Reset ¶
func (m *ShowVersion) Reset()
func (*ShowVersion) Size ¶
func (m *ShowVersion) Size() (size int)
func (*ShowVersion) Unmarshal ¶
func (m *ShowVersion) Unmarshal(b []byte) error
type ShowVersionReply ¶
type ShowVersionReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` Program string `binapi:"string[32],name=program" json:"program,omitempty"` Version string `binapi:"string[32],name=version" json:"version,omitempty"` BuildDate string `binapi:"string[32],name=build_date" json:"build_date,omitempty"` BuildDirectory string `binapi:"string[256],name=build_directory" json:"build_directory,omitempty"` }
ShowVersionReply defines message 'show_version_reply'.
func (*ShowVersionReply) GetCrcString ¶
func (*ShowVersionReply) GetCrcString() string
func (*ShowVersionReply) GetMessageName ¶
func (*ShowVersionReply) GetMessageName() string
func (*ShowVersionReply) GetMessageType ¶
func (*ShowVersionReply) GetMessageType() api.MessageType
func (*ShowVersionReply) Reset ¶
func (m *ShowVersionReply) Reset()
func (*ShowVersionReply) Size ¶
func (m *ShowVersionReply) Size() (size int)
func (*ShowVersionReply) Unmarshal ¶
func (m *ShowVersionReply) Unmarshal(b []byte) error
type ShowVpeSystemTime ¶
type ShowVpeSystemTime struct{}
ShowVpeSystemTime defines message 'show_vpe_system_time'.
func (*ShowVpeSystemTime) GetCrcString ¶
func (*ShowVpeSystemTime) GetCrcString() string
func (*ShowVpeSystemTime) GetMessageName ¶
func (*ShowVpeSystemTime) GetMessageName() string
func (*ShowVpeSystemTime) GetMessageType ¶
func (*ShowVpeSystemTime) GetMessageType() api.MessageType
func (*ShowVpeSystemTime) Reset ¶
func (m *ShowVpeSystemTime) Reset()
func (*ShowVpeSystemTime) Size ¶
func (m *ShowVpeSystemTime) Size() (size int)
func (*ShowVpeSystemTime) Unmarshal ¶
func (m *ShowVpeSystemTime) Unmarshal(b []byte) error
type ShowVpeSystemTimeReply ¶
type ShowVpeSystemTimeReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` VpeSystemTime vpe_types.Timestamp `binapi:"timestamp,name=vpe_system_time" json:"vpe_system_time,omitempty"` }
ShowVpeSystemTimeReply defines message 'show_vpe_system_time_reply'.
func (*ShowVpeSystemTimeReply) GetCrcString ¶
func (*ShowVpeSystemTimeReply) GetCrcString() string
func (*ShowVpeSystemTimeReply) GetMessageName ¶
func (*ShowVpeSystemTimeReply) GetMessageName() string
func (*ShowVpeSystemTimeReply) GetMessageType ¶
func (*ShowVpeSystemTimeReply) GetMessageType() api.MessageType
func (*ShowVpeSystemTimeReply) Marshal ¶
func (m *ShowVpeSystemTimeReply) Marshal(b []byte) ([]byte, error)
func (*ShowVpeSystemTimeReply) Reset ¶
func (m *ShowVpeSystemTimeReply) Reset()
func (*ShowVpeSystemTimeReply) Size ¶
func (m *ShowVpeSystemTimeReply) Size() (size int)
func (*ShowVpeSystemTimeReply) Unmarshal ¶
func (m *ShowVpeSystemTimeReply) Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.