api_common

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CommonHead

type CommonHead struct {

	// token 用户标识
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonHead) Descriptor deprecated

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

Deprecated: Use CommonHead.ProtoReflect.Descriptor instead.

func (*CommonHead) GetToken

func (x *CommonHead) GetToken() string

func (*CommonHead) ProtoMessage

func (*CommonHead) ProtoMessage()

func (*CommonHead) ProtoReflect

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

func (*CommonHead) Reset

func (x *CommonHead) Reset()

func (*CommonHead) String

func (x *CommonHead) String() string

type CommonRsp

type CommonRsp struct {

	//error_code
	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	//msg
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonRsp) Descriptor deprecated

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

Deprecated: Use CommonRsp.ProtoReflect.Descriptor instead.

func (*CommonRsp) GetCode

func (x *CommonRsp) GetCode() uint32

func (*CommonRsp) GetMsg

func (x *CommonRsp) GetMsg() string

func (*CommonRsp) ProtoMessage

func (*CommonRsp) ProtoMessage()

func (*CommonRsp) ProtoReflect

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

func (*CommonRsp) Reset

func (x *CommonRsp) Reset()

func (*CommonRsp) String

func (x *CommonRsp) String() string

Jump to

Keyboard shortcuts

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