pb

package
v0.0.0-...-93ebe07 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional int32 MsgID = 1000;
	E_MsgID = &file_base_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// optional string Type = 1000;
	E_Type = &file_base_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

Functions

This section is empty.

Types

type Echo

type Echo struct {
	Data string `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
	Id   int64  `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"`
	Num  uint64 `protobuf:"varint,3,opt,name=Num,proto3" json:"Num,omitempty"`
	// contains filtered or unexported fields
}

func (*Echo) Descriptor deprecated

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

Deprecated: Use Echo.ProtoReflect.Descriptor instead.

func (*Echo) GetData

func (x *Echo) GetData() string

func (*Echo) GetId

func (x *Echo) GetId() int64

func (*Echo) GetNum

func (x *Echo) GetNum() uint64

func (Echo) MsgID

func (x Echo) MsgID() int16

MsgID:1

func (*Echo) ProtoMessage

func (*Echo) ProtoMessage()

func (*Echo) ProtoReflect

func (x *Echo) ProtoReflect() protoreflect.Message

func (*Echo) Reset

func (x *Echo) Reset()

func (*Echo) String

func (x *Echo) String() string

type Test

type Test struct {
	XX int32 `protobuf:"varint,1,opt,name=XX,proto3" json:"XX,omitempty"`
	// contains filtered or unexported fields
}

func (*Test) Descriptor deprecated

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

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetXX

func (x *Test) GetXX() int32

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect

func (x *Test) ProtoReflect() protoreflect.Message

func (*Test) Reset

func (x *Test) Reset()

func (*Test) String

func (x *Test) String() string

Jump to

Keyboard shortcuts

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