pb

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 4 Imported by: 4

Documentation

Index

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

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

Deprecated: Use Cursor.ProtoReflect.Descriptor instead.

func (*Cursor) GetComparator

func (x *Cursor) GetComparator() Comparator

func (*Cursor) GetId

func (x *Cursor) GetId() uint64

func (*Cursor) GetLimit

func (x *Cursor) GetLimit() uint64

func (*Cursor) GetOrder

func (x *Cursor) GetOrder() SortOrder

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetMessage

func (x *Message) GetMessage() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

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

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetLimit

func (x *Page) GetLimit() uint64

func (*Page) GetOffset

func (x *Page) GetOffset() uint64

func (*Page) GetOrder

func (x *Page) GetOrder() SortOrder

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) ProtoReflect

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

func (*Page) Reset

func (x *Page) Reset()

func (*Page) String

func (x *Page) String() string

type SortOrder

type SortOrder int32
const (
	SortOrder_ASC  SortOrder = 0
	SortOrder_DESC SortOrder = 1
)

func (SortOrder) Descriptor

func (SortOrder) Descriptor() protoreflect.EnumDescriptor

func (SortOrder) Enum

func (x SortOrder) Enum() *SortOrder

func (SortOrder) EnumDescriptor deprecated

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

Deprecated: Use SortOrder.Descriptor instead.

func (SortOrder) Number

func (x SortOrder) Number() protoreflect.EnumNumber

func (SortOrder) String

func (x SortOrder) String() string

func (SortOrder) Type

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

Jump to

Keyboard shortcuts

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