pb_structs

package
v1.1.25 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_req_resp_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ReqStc

type ReqStc struct {
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

The response message containing the greetings

func (*ReqStc) Descriptor deprecated

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

Deprecated: Use ReqStc.ProtoReflect.Descriptor instead.

func (*ReqStc) GetRequestId

func (x *ReqStc) GetRequestId() string

func (*ReqStc) ProtoMessage

func (*ReqStc) ProtoMessage()

func (*ReqStc) ProtoReflect

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

func (*ReqStc) Reset

func (x *ReqStc) Reset()

func (*ReqStc) String

func (x *ReqStc) String() string

type RespStc

type RespStc struct {
	Code    int64  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data    string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*RespStc) Descriptor deprecated

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

Deprecated: Use RespStc.ProtoReflect.Descriptor instead.

func (*RespStc) GetCode

func (x *RespStc) GetCode() int64

func (*RespStc) GetData

func (x *RespStc) GetData() string

func (*RespStc) GetMessage

func (x *RespStc) GetMessage() string

func (*RespStc) ProtoMessage

func (*RespStc) ProtoMessage()

func (*RespStc) ProtoReflect

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

func (*RespStc) Reset

func (x *RespStc) Reset()

func (*RespStc) String

func (x *RespStc) String() string

type User

type User struct {
	Nickanme string `protobuf:"bytes,1,opt,name=nickanme,proto3" json:"nickanme,omitempty"`
	Account  string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Uid      int64  `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

The response message containing the greetings

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAccount

func (x *User) GetAccount() string

func (*User) GetNickanme

func (x *User) GetNickanme() string

func (*User) GetUid

func (x *User) GetUid() int64

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