Documentation
¶
Overview ¶
Package common is a generated protocol buffer package.
It is generated from these files:
common.proto
It has these top-level messages:
Request Response Pager
Index ¶
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetCode() int32
- func (m *Error) GetDetail() *any.Any
- func (m *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type Pager
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Detail *any.Any `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Error) Descriptor ¶
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type Pager ¶
type Pager struct { // 页码 Page int64 `protobuf:"varint,1,opt,name=page" json:"page,omitempty"` // 页数 PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` // 总行数 TotalRows int64 `protobuf:"varint,3,opt,name=total_rows,json=totalRows" json:"total_rows,omitempty"` }
func (*Pager) Descriptor ¶
func (*Pager) GetPageSize ¶
func (*Pager) GetTotalRows ¶
func (*Pager) ProtoMessage ¶
func (*Pager) ProtoMessage()
type Request ¶
type Request struct { }
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.