pb

package
Version: v0.0.0-...-801a3aa Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type MultiUser

type MultiUser struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiUser) Descriptor deprecated

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

Deprecated: Use MultiUser.ProtoReflect.Descriptor instead.

func (*MultiUser) GetUsers

func (x *MultiUser) GetUsers() []*User

func (*MultiUser) ProtoMessage

func (*MultiUser) ProtoMessage()

func (*MultiUser) ProtoReflect

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

func (*MultiUser) Reset

func (x *MultiUser) Reset()

func (*MultiUser) String

func (x *MultiUser) String() string

type User

type User struct {
	Id     int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Age    int32  `protobuf:"varint,3,opt,name=age,proto3" json:"age,omitempty"`
	Passwd string `protobuf:"bytes,4,opt,name=passwd,proto3" json:"passwd,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAge

func (x *User) GetAge() int32

func (*User) GetId

func (x *User) GetId() int32

func (*User) GetName

func (x *User) GetName() string

func (*User) GetPasswd

func (x *User) GetPasswd() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Source Files

Jump to

Keyboard shortcuts

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