gen

package
v0.0.0-...-18f1ea7 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type GetByIDReq

type GetByIDReq struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByIDReq) Descriptor deprecated

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

Deprecated: Use GetByIDReq.ProtoReflect.Descriptor instead.

func (*GetByIDReq) GetId

func (x *GetByIDReq) GetId() int64

func (*GetByIDReq) ProtoMessage

func (*GetByIDReq) ProtoMessage()

func (*GetByIDReq) ProtoReflect

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

func (*GetByIDReq) Reset

func (x *GetByIDReq) Reset()

func (*GetByIDReq) String

func (x *GetByIDReq) String() string

type GetByIDResp

type GetByIDResp struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByIDResp) Descriptor deprecated

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

Deprecated: Use GetByIDResp.ProtoReflect.Descriptor instead.

func (*GetByIDResp) GetUser

func (x *GetByIDResp) GetUser() *User

func (*GetByIDResp) ProtoMessage

func (*GetByIDResp) ProtoMessage()

func (*GetByIDResp) ProtoReflect

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

func (*GetByIDResp) Reset

func (x *GetByIDResp) Reset()

func (*GetByIDResp) String

func (x *GetByIDResp) String() string

type User

type User struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetId

func (x *User) GetId() int64

func (*User) GetName

func (x *User) GetName() 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

Jump to

Keyboard shortcuts

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