Documentation
¶
Index ¶
- Variables
- type Cursor
- type CursorStr
- type Id
- type IdInput
- type IdResp
- type IdStr
- type IdStrs
- type Ids
- type Pagination
- type PaginationInput
- type Sort
- type SortType
- func (x SortType) Comment() string
- func (SortType) Descriptor() protoreflect.EnumDescriptor
- func (x SortType) Enum() *SortType
- func (SortType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SortType) MarshalGQL(w io.Writer)
- func (x SortType) Number() protoreflect.EnumNumber
- func (x SortType) String() string
- func (SortType) Type() protoreflect.EnumType
- func (x *SortType) UnmarshalGQL(v interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SortType_name = map[int32]string{ 0: "ASC", 1: "DESC", } SortType_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for SortType.
View Source
var File_hopeio_request_param_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cursor ¶
type Cursor struct {
Cursor uint64 `protobuf:"varint,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
// contains filtered or unexported fields
}
func (*Cursor) Descriptor
deprecated
func (*Cursor) ProtoMessage ¶
func (*Cursor) ProtoMessage()
func (*Cursor) ProtoReflect ¶
func (x *Cursor) ProtoReflect() protoreflect.Message
type CursorStr ¶
type CursorStr struct {
Cursor string `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
// contains filtered or unexported fields
}
func (*CursorStr) Descriptor
deprecated
func (*CursorStr) ProtoMessage ¶
func (*CursorStr) ProtoMessage()
func (*CursorStr) ProtoReflect ¶
func (x *CursorStr) ProtoReflect() protoreflect.Message
type Id ¶
type Id struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*Id) Descriptor
deprecated
func (*Id) ProtoMessage ¶
func (*Id) ProtoMessage()
func (*Id) ProtoReflect ¶
func (x *Id) ProtoReflect() protoreflect.Message
type IdStr ¶
type IdStr struct {
IdStr string `protobuf:"bytes,1,opt,name=idStr,proto3" json:"idStr,omitempty"`
// contains filtered or unexported fields
}
func (*IdStr) Descriptor
deprecated
func (*IdStr) ProtoMessage ¶
func (*IdStr) ProtoMessage()
func (*IdStr) ProtoReflect ¶
func (x *IdStr) ProtoReflect() protoreflect.Message
type IdStrs ¶ added in v0.5.15
type IdStrs struct {
IdStr []string `protobuf:"bytes,1,rep,name=idStr,proto3" json:"idStr,omitempty"`
// contains filtered or unexported fields
}
func (*IdStrs) Descriptor
deprecated
added in
v0.5.15
func (*IdStrs) ProtoMessage ¶ added in v0.5.15
func (*IdStrs) ProtoMessage()
func (*IdStrs) ProtoReflect ¶ added in v0.5.15
func (x *IdStrs) ProtoReflect() protoreflect.Message
type Ids ¶ added in v0.5.15
type Ids struct {
Id []uint64 `protobuf:"varint,1,rep,packed,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*Ids) Descriptor
deprecated
added in
v0.5.15
func (*Ids) ProtoMessage ¶ added in v0.5.15
func (*Ids) ProtoMessage()
func (*Ids) ProtoReflect ¶ added in v0.5.15
func (x *Ids) ProtoReflect() protoreflect.Message
type Pagination ¶ added in v0.5.15
type Pagination struct {
No uint32 `protobuf:"varint,1,opt,name=no,proto3" json:"no,omitempty"`
Size uint32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
func (*Pagination) Descriptor
deprecated
added in
v0.5.15
func (*Pagination) Descriptor() ([]byte, []int)
Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) GetNo ¶ added in v0.5.15
func (x *Pagination) GetNo() uint32
func (*Pagination) GetSize ¶ added in v0.5.15
func (x *Pagination) GetSize() uint32
func (*Pagination) ProtoMessage ¶ added in v0.5.15
func (*Pagination) ProtoMessage()
func (*Pagination) ProtoReflect ¶ added in v0.5.15
func (x *Pagination) ProtoReflect() protoreflect.Message
func (*Pagination) Reset ¶ added in v0.5.15
func (x *Pagination) Reset()
func (*Pagination) String ¶ added in v0.5.15
func (x *Pagination) String() string
type PaginationInput ¶ added in v0.5.16
type PaginationInput = Pagination
type Sort ¶ added in v0.5.15
type Sort struct {
Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
Type SortType `protobuf:"varint,2,opt,name=type,proto3,enum=request.SortType" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*Sort) Descriptor
deprecated
added in
v0.5.15
func (*Sort) ProtoMessage ¶ added in v0.5.15
func (*Sort) ProtoMessage()
func (*Sort) ProtoReflect ¶ added in v0.5.15
func (x *Sort) ProtoReflect() protoreflect.Message
type SortType ¶ added in v0.5.15
type SortType int32
func (SortType) Descriptor ¶ added in v0.5.15
func (SortType) Descriptor() protoreflect.EnumDescriptor
func (SortType) EnumDescriptor
deprecated
added in
v0.5.15
func (SortType) MarshalGQL ¶ added in v0.5.15
func (SortType) Number ¶ added in v0.5.15
func (x SortType) Number() protoreflect.EnumNumber
func (SortType) Type ¶ added in v0.5.15
func (SortType) Type() protoreflect.EnumType
func (*SortType) UnmarshalGQL ¶ added in v0.5.15
Click to show internal directories.
Click to hide internal directories.