vpe

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: 9 Imported by: 3

Documentation

Overview

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

Contents:

6 messages

Index

Constants

View Source
const (
	APIFile    = "vpe"
	APIVersion = "1.7.0"
	VersionCrc = 0xbbfa7484
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

func HTTPHandler

func HTTPHandler(rpc RPCService) http.Handler

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

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

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) GetCrcString() string

func (*LogDump) GetMessageName

func (*LogDump) GetMessageName() string

func (*LogDump) GetMessageType

func (*LogDump) GetMessageType() api.MessageType

func (*LogDump) Marshal

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

func (*LogDump) Reset

func (m *LogDump) Reset()

func (*LogDump) Size

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

func (*LogDump) Unmarshal

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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