pb_structs

package
v1.1.37 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_demo2_proto protoreflect.FileDescriptor
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 Setting added in v1.1.32

type Setting struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

The response message containing the greetings

func (*Setting) Descriptor deprecated added in v1.1.32

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

Deprecated: Use Setting.ProtoReflect.Descriptor instead.

func (*Setting) GetKey added in v1.1.32

func (x *Setting) GetKey() string

func (*Setting) GetValue added in v1.1.32

func (x *Setting) GetValue() string

func (*Setting) ProtoMessage added in v1.1.32

func (*Setting) ProtoMessage()

func (*Setting) ProtoReflect added in v1.1.32

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

func (*Setting) Reset added in v1.1.32

func (x *Setting) Reset()

func (*Setting) String added in v1.1.32

func (x *Setting) String() string

type User

type User struct {
	Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,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) GetNickname added in v1.1.32

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