proto

package
v0.0.0-...-4a3359c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: AGPL-3.0 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 CommonResponse

type CommonResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Error   string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonResponse) Descriptor deprecated

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

Deprecated: Use CommonResponse.ProtoReflect.Descriptor instead.

func (CommonResponse) FromNative

func (*CommonResponse) GetError

func (x *CommonResponse) GetError() string

func (*CommonResponse) GetMessage

func (x *CommonResponse) GetMessage() string

func (*CommonResponse) GetSuccess

func (x *CommonResponse) GetSuccess() bool

func (*CommonResponse) ProtoMessage

func (*CommonResponse) ProtoMessage()

func (*CommonResponse) ProtoReflect

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

func (*CommonResponse) Reset

func (x *CommonResponse) Reset()

func (*CommonResponse) String

func (x *CommonResponse) String() string

func (*CommonResponse) ToNative

func (m *CommonResponse) ToNative() *meta.CommonResponse

type RequestParams

type RequestParams struct {
	Limit         int32                 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"`
	Offset        int32                 `protobuf:"varint,2,opt,name=Offset,proto3" json:"Offset,omitempty"`
	SortBy        *wrappers.StringValue `protobuf:"bytes,3,opt,name=SortBy,proto3" json:"SortBy,omitempty"`
	SortDirection *wrappers.StringValue `protobuf:"bytes,4,opt,name=SortDirection,proto3" json:"SortDirection,omitempty"`
	UserID        string                `protobuf:"bytes,5,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestParams) Descriptor deprecated

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

Deprecated: Use RequestParams.ProtoReflect.Descriptor instead.

func (RequestParams) FromNative

func (m RequestParams) FromNative(n *meta.RequestParams) *RequestParams

func (*RequestParams) GetLimit

func (x *RequestParams) GetLimit() int32

func (*RequestParams) GetOffset

func (x *RequestParams) GetOffset() int32

func (*RequestParams) GetSortBy

func (x *RequestParams) GetSortBy() *wrappers.StringValue

func (*RequestParams) GetSortDirection

func (x *RequestParams) GetSortDirection() *wrappers.StringValue

func (*RequestParams) GetUserID

func (x *RequestParams) GetUserID() string

func (*RequestParams) ProtoMessage

func (*RequestParams) ProtoMessage()

func (*RequestParams) ProtoReflect

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

func (*RequestParams) Reset

func (x *RequestParams) Reset()

func (*RequestParams) String

func (x *RequestParams) String() string

func (*RequestParams) ToNative

func (m *RequestParams) ToNative() *meta.RequestParams

Jump to

Keyboard shortcuts

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