request

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 8 Imported by: 3

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Cursor.ProtoReflect.Descriptor instead.

func (*Cursor) GetCursor

func (x *Cursor) GetCursor() uint64

func (*Cursor) ProtoMessage

func (*Cursor) ProtoMessage()

func (*Cursor) ProtoReflect

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

func (*Cursor) Reset

func (x *Cursor) Reset()

func (*Cursor) String

func (x *Cursor) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use CursorStr.ProtoReflect.Descriptor instead.

func (*CursorStr) GetCursor

func (x *CursorStr) GetCursor() string

func (*CursorStr) ProtoMessage

func (*CursorStr) ProtoMessage()

func (*CursorStr) ProtoReflect

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

func (*CursorStr) Reset

func (x *CursorStr) Reset()

func (*CursorStr) String

func (x *CursorStr) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Id.ProtoReflect.Descriptor instead.

func (*Id) GetId

func (x *Id) GetId() uint64

func (*Id) ProtoMessage

func (*Id) ProtoMessage()

func (*Id) ProtoReflect

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

func (*Id) Reset

func (x *Id) Reset()

func (*Id) String

func (x *Id) String() string

type IdInput

type IdInput = Id

type IdRep

type IdRep = Id

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) Descriptor() ([]byte, []int)

Deprecated: Use IdStr.ProtoReflect.Descriptor instead.

func (*IdStr) GetIdStr

func (x *IdStr) GetIdStr() string

func (*IdStr) ProtoMessage

func (*IdStr) ProtoMessage()

func (*IdStr) ProtoReflect

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

func (*IdStr) Reset

func (x *IdStr) Reset()

func (*IdStr) String

func (x *IdStr) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use IdStrs.ProtoReflect.Descriptor instead.

func (*IdStrs) GetIdStr added in v0.5.15

func (x *IdStrs) GetIdStr() []string

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

func (*IdStrs) Reset added in v0.5.15

func (x *IdStrs) Reset()

func (*IdStrs) String added in v0.5.15

func (x *IdStrs) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Ids.ProtoReflect.Descriptor instead.

func (*Ids) GetId added in v0.5.15

func (x *Ids) GetId() []uint64

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

func (*Ids) Reset added in v0.5.15

func (x *Ids) Reset()

func (*Ids) String added in v0.5.15

func (x *Ids) String() string

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"`
	Sort []*Sort `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,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) GetSort added in v0.5.15

func (x *Pagination) GetSort() []*Sort

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) Descriptor() ([]byte, []int)

Deprecated: Use Sort.ProtoReflect.Descriptor instead.

func (*Sort) GetField added in v0.5.15

func (x *Sort) GetField() string

func (*Sort) GetType added in v0.5.15

func (x *Sort) GetType() SortType

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

func (*Sort) Reset added in v0.5.15

func (x *Sort) Reset()

func (*Sort) String added in v0.5.15

func (x *Sort) String() string

type SortType added in v0.5.15

type SortType int32
const (
	SortType_ASC  SortType = 0
	SortType_DESC SortType = 1
)

func (SortType) Comment added in v0.5.15

func (x SortType) Comment() string

func (SortType) Descriptor added in v0.5.15

func (SortType) Descriptor() protoreflect.EnumDescriptor

func (SortType) Enum added in v0.5.15

func (x SortType) Enum() *SortType

func (SortType) EnumDescriptor deprecated added in v0.5.15

func (SortType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SortType.Descriptor instead.

func (SortType) MarshalGQL added in v0.5.15

func (x SortType) MarshalGQL(w io.Writer)

func (SortType) Number added in v0.5.15

func (x SortType) Number() protoreflect.EnumNumber

func (SortType) String added in v0.5.15

func (x SortType) String() string

func (SortType) Type added in v0.5.15

func (*SortType) UnmarshalGQL added in v0.5.15

func (x *SortType) UnmarshalGQL(v interface{}) error

Jump to

Keyboard shortcuts

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