rpcmsg

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package rpcmsg is a generated protocol buffer package.

It is generated from these files:

rpc/rpcmsg/rpc.proto

It has these top-level messages:

Data

Index

Constants

This section is empty.

Variables

View Source
var Data_Type_name = map[int32]string{
	0: "Invalid",
	1: "Request",
	2: "Response",
	3: "Session2Server",
	4: "Server2Session",
	5: "Server2Server",
}
View Source
var Data_Type_value = map[string]int32{
	"Invalid":        0,
	"Request":        1,
	"Response":       2,
	"Session2Server": 3,
	"Server2Session": 4,
	"Server2Server":  5,
}

Functions

This section is empty.

Types

type Data

type Data struct {
	Type     Data_Type `protobuf:"varint,1,opt,name=type,enum=rpcmsg.Data_Type" json:"type,omitempty"`
	Seqid    int32     `protobuf:"varint,2,opt,name=seqid" json:"seqid,omitempty"`
	Sesid    int32     `protobuf:"varint,3,opt,name=sesid" json:"sesid,omitempty"`
	Senderid int32     `protobuf:"varint,4,opt,name=senderid" json:"senderid,omitempty"`
	Msgid    uint32    `protobuf:"varint,5,opt,name=msgid" json:"msgid,omitempty"`
	Data     []byte    `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
}

func (*Data) Descriptor

func (*Data) Descriptor() ([]byte, []int)

func (*Data) GetData

func (m *Data) GetData() []byte

func (*Data) GetMsgid

func (m *Data) GetMsgid() uint32

func (*Data) GetSenderid

func (m *Data) GetSenderid() int32

func (*Data) GetSeqid

func (m *Data) GetSeqid() int32

func (*Data) GetSesid

func (m *Data) GetSesid() int32

func (*Data) GetType

func (m *Data) GetType() Data_Type

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) Reset

func (m *Data) Reset()

func (*Data) String

func (m *Data) String() string

type Data_Type

type Data_Type int32
const (
	Data_Invalid        Data_Type = 0
	Data_Request        Data_Type = 1
	Data_Response       Data_Type = 2
	Data_Session2Server Data_Type = 3
	Data_Server2Session Data_Type = 4
	Data_Server2Server  Data_Type = 5
)

func (Data_Type) EnumDescriptor

func (Data_Type) EnumDescriptor() ([]byte, []int)

func (Data_Type) String

func (x Data_Type) String() string

Jump to

Keyboard shortcuts

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