Documentation
¶
Index ¶
- Variables
- type Comparator
- type Cursor
- func (*Cursor) Descriptor() ([]byte, []int)deprecated
- func (x *Cursor) GetComparator() Comparator
- func (x *Cursor) GetId() uint64
- func (x *Cursor) GetLimit() uint64
- func (x *Cursor) GetOrder() SortOrder
- func (*Cursor) ProtoMessage()
- func (x *Cursor) ProtoReflect() protoreflect.Message
- func (x *Cursor) Reset()
- func (x *Cursor) String() string
- type DefaultRequest
- type Message
- type Page
- type SortOrder
- type SubscribeResponse
- type UnsubscribeRequest
- type UnsubscribeResponse
- func (*UnsubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubscribeResponse) GetId() uint64
- func (x *UnsubscribeResponse) GetResponse() *Message
- func (*UnsubscribeResponse) ProtoMessage()
- func (x *UnsubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *UnsubscribeResponse) Reset()
- func (x *UnsubscribeResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SortOrder_name = map[int32]string{ 0: "ASC", 1: "DESC", } SortOrder_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for SortOrder.
View Source
var ( Comparator_name = map[int32]string{ 0: "GT", 1: "GTE", 2: "LTE", 3: "LT", 4: "EQ", 5: "NEQ", } Comparator_value = map[string]int32{ "GT": 0, "GTE": 1, "LTE": 2, "LT": 3, "EQ": 4, "NEQ": 5, } )
Enum value maps for Comparator.
View Source
var File_github_com_dipdup_net_indexer_sdk_pkg_modules_grpc_proto_general_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Comparator ¶
type Comparator int32
const ( Comparator_GT Comparator = 0 Comparator_GTE Comparator = 1 Comparator_LTE Comparator = 2 Comparator_LT Comparator = 3 Comparator_EQ Comparator = 4 Comparator_NEQ Comparator = 5 )
func (Comparator) Descriptor ¶
func (Comparator) Descriptor() protoreflect.EnumDescriptor
func (Comparator) Enum ¶
func (x Comparator) Enum() *Comparator
func (Comparator) EnumDescriptor
deprecated
func (Comparator) EnumDescriptor() ([]byte, []int)
Deprecated: Use Comparator.Descriptor instead.
func (Comparator) Number ¶
func (x Comparator) Number() protoreflect.EnumNumber
func (Comparator) String ¶
func (x Comparator) String() string
func (Comparator) Type ¶
func (Comparator) Type() protoreflect.EnumType
type Cursor ¶
type Cursor struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Order SortOrder `protobuf:"varint,3,opt,name=order,proto3,enum=proto.SortOrder" json:"order,omitempty"` Comparator Comparator `protobuf:"varint,4,opt,name=comparator,proto3,enum=proto.Comparator" json:"comparator,omitempty"` // contains filtered or unexported fields }
func (*Cursor) Descriptor
deprecated
func (*Cursor) GetComparator ¶
func (x *Cursor) GetComparator() Comparator
func (*Cursor) ProtoMessage ¶
func (*Cursor) ProtoMessage()
func (*Cursor) ProtoReflect ¶
func (x *Cursor) ProtoReflect() protoreflect.Message
type DefaultRequest ¶
type DefaultRequest struct {
// contains filtered or unexported fields
}
func (*DefaultRequest) Descriptor
deprecated
func (*DefaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use DefaultRequest.ProtoReflect.Descriptor instead.
func (*DefaultRequest) ProtoMessage ¶
func (*DefaultRequest) ProtoMessage()
func (*DefaultRequest) ProtoReflect ¶
func (x *DefaultRequest) ProtoReflect() protoreflect.Message
func (*DefaultRequest) Reset ¶
func (x *DefaultRequest) Reset()
func (*DefaultRequest) String ¶
func (x *DefaultRequest) String() string
type Message ¶
type Message struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetMessage ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Page ¶
type Page struct { Limit uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Order SortOrder `protobuf:"varint,3,opt,name=order,proto3,enum=proto.SortOrder" json:"order,omitempty"` // contains filtered or unexported fields }
func (*Page) Descriptor
deprecated
func (*Page) ProtoMessage ¶
func (*Page) ProtoMessage()
func (*Page) ProtoReflect ¶
func (x *Page) ProtoReflect() protoreflect.Message
type SortOrder ¶
type SortOrder int32
func (SortOrder) Descriptor ¶
func (SortOrder) Descriptor() protoreflect.EnumDescriptor
func (SortOrder) EnumDescriptor
deprecated
func (SortOrder) Number ¶
func (x SortOrder) Number() protoreflect.EnumNumber
func (SortOrder) Type ¶
func (SortOrder) Type() protoreflect.EnumType
type SubscribeResponse ¶
type SubscribeResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SubscribeResponse) Descriptor
deprecated
func (*SubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
func (*SubscribeResponse) GetId ¶
func (x *SubscribeResponse) GetId() uint64
func (*SubscribeResponse) ProtoMessage ¶
func (*SubscribeResponse) ProtoMessage()
func (*SubscribeResponse) ProtoReflect ¶
func (x *SubscribeResponse) ProtoReflect() protoreflect.Message
func (*SubscribeResponse) Reset ¶
func (x *SubscribeResponse) Reset()
func (*SubscribeResponse) String ¶
func (x *SubscribeResponse) String() string
type UnsubscribeRequest ¶
type UnsubscribeRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UnsubscribeRequest) Descriptor
deprecated
func (*UnsubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnsubscribeRequest.ProtoReflect.Descriptor instead.
func (*UnsubscribeRequest) GetId ¶
func (x *UnsubscribeRequest) GetId() uint64
func (*UnsubscribeRequest) ProtoMessage ¶
func (*UnsubscribeRequest) ProtoMessage()
func (*UnsubscribeRequest) ProtoReflect ¶
func (x *UnsubscribeRequest) ProtoReflect() protoreflect.Message
func (*UnsubscribeRequest) Reset ¶
func (x *UnsubscribeRequest) Reset()
func (*UnsubscribeRequest) String ¶
func (x *UnsubscribeRequest) String() string
type UnsubscribeResponse ¶
type UnsubscribeResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Response *Message `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*UnsubscribeResponse) Descriptor
deprecated
func (*UnsubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnsubscribeResponse.ProtoReflect.Descriptor instead.
func (*UnsubscribeResponse) GetId ¶
func (x *UnsubscribeResponse) GetId() uint64
func (*UnsubscribeResponse) GetResponse ¶
func (x *UnsubscribeResponse) GetResponse() *Message
func (*UnsubscribeResponse) ProtoMessage ¶
func (*UnsubscribeResponse) ProtoMessage()
func (*UnsubscribeResponse) ProtoReflect ¶
func (x *UnsubscribeResponse) ProtoReflect() protoreflect.Message
func (*UnsubscribeResponse) Reset ¶
func (x *UnsubscribeResponse) Reset()
func (*UnsubscribeResponse) String ¶
func (x *UnsubscribeResponse) String() string
Click to show internal directories.
Click to hide internal directories.