pbs

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Pages

type Pages struct {

	// @inject_tag: json:"page",form:"page"
	Page uint32 `protobuf:"varint,1,opt,name=Page,proto3" json:"page" form:"page"`
	// @inject_tag: json:"per_page",form:"per_page"
	PerPage uint32 `protobuf:"varint,2,opt,name=PerPage,proto3" json:"per_page" form:"per_page"`
	// @inject_tag: json:"total",form:"total"
	Total uint32 `protobuf:"varint,3,opt,name=Total,proto3" json:"total" form:"total"`
	// contains filtered or unexported fields
}

func (*Pages) Descriptor deprecated

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

Deprecated: Use Pages.ProtoReflect.Descriptor instead.

func (*Pages) GetPage

func (x *Pages) GetPage() uint32

func (*Pages) GetPerPage

func (x *Pages) GetPerPage() uint32

func (*Pages) GetTotal

func (x *Pages) GetTotal() uint32

func (*Pages) ProtoMessage

func (*Pages) ProtoMessage()

func (*Pages) ProtoReflect

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

func (*Pages) Reset

func (x *Pages) Reset()

func (*Pages) String

func (x *Pages) String() string

type Pk

type Pk struct {

	// @inject_tag: json:"id",form:"id"
	Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"id" form:"id"`
	// contains filtered or unexported fields
}

func (*Pk) Descriptor deprecated

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

Deprecated: Use Pk.ProtoReflect.Descriptor instead.

func (*Pk) GetId

func (x *Pk) GetId() uint64

func (*Pk) ProtoMessage

func (*Pk) ProtoMessage()

func (*Pk) ProtoReflect

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

func (*Pk) Reset

func (x *Pk) Reset()

func (*Pk) String

func (x *Pk) String() string

type Response

type Response struct {

	// @inject_tag: json:"code",form:"code"
	Code uint32 `protobuf:"varint,1,opt,name=Code,proto3" json:"code" form:"code"`
	// @inject_tag: json:"msg",form:"msg"
	Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"msg" form:"msg"`
	// @inject_tag: json:"data",form:"data"
	Data *any.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data" form:"data"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode

func (x *Response) GetCode() uint32

func (*Response) GetData

func (x *Response) GetData() *any.Any

func (*Response) GetMsg

func (x *Response) GetMsg() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

Jump to

Keyboard shortcuts

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