protobuf

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSdk        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSdk          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSdk = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ListParam

type ListParam struct {
	Page     int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
}

分页参数

func (*ListParam) Descriptor

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

func (*ListParam) GetPage

func (m *ListParam) GetPage() int64

func (*ListParam) GetPageSize

func (m *ListParam) GetPageSize() int64

func (*ListParam) Marshal

func (m *ListParam) Marshal() (dAtA []byte, err error)

func (*ListParam) MarshalTo

func (m *ListParam) MarshalTo(dAtA []byte) (int, error)

func (*ListParam) MarshalToSizedBuffer

func (m *ListParam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListParam) ProtoMessage

func (*ListParam) ProtoMessage()

func (*ListParam) Reset

func (m *ListParam) Reset()

func (*ListParam) Size

func (m *ListParam) Size() (n int)

func (*ListParam) String

func (m *ListParam) String() string

func (*ListParam) Unmarshal

func (m *ListParam) Unmarshal(dAtA []byte) error

func (*ListParam) XXX_DiscardUnknown

func (m *ListParam) XXX_DiscardUnknown()

func (*ListParam) XXX_Marshal

func (m *ListParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListParam) XXX_Merge

func (m *ListParam) XXX_Merge(src proto.Message)

func (*ListParam) XXX_Size

func (m *ListParam) XXX_Size() int

func (*ListParam) XXX_Unmarshal

func (m *ListParam) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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