internal

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClaimRequest

type ClaimRequest struct {
	RequestId string  `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	ServerId  string  `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Affinity  float32 `protobuf:"fixed32,3,opt,name=affinity,proto3" json:"affinity,omitempty"`
	// contains filtered or unexported fields
}

func (*ClaimRequest) Descriptor deprecated

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

Deprecated: Use ClaimRequest.ProtoReflect.Descriptor instead.

func (*ClaimRequest) GetAffinity

func (x *ClaimRequest) GetAffinity() float32

func (*ClaimRequest) GetRequestId

func (x *ClaimRequest) GetRequestId() string

func (*ClaimRequest) GetServerId

func (x *ClaimRequest) GetServerId() string

func (*ClaimRequest) ProtoMessage

func (*ClaimRequest) ProtoMessage()

func (*ClaimRequest) ProtoReflect

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

func (*ClaimRequest) Reset

func (x *ClaimRequest) Reset()

func (*ClaimRequest) String

func (x *ClaimRequest) String() string

type ClaimResponse

type ClaimResponse struct {
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	ServerId  string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ClaimResponse) Descriptor deprecated

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

Deprecated: Use ClaimResponse.ProtoReflect.Descriptor instead.

func (*ClaimResponse) GetRequestId

func (x *ClaimResponse) GetRequestId() string

func (*ClaimResponse) GetServerId

func (x *ClaimResponse) GetServerId() string

func (*ClaimResponse) ProtoMessage

func (*ClaimResponse) ProtoMessage()

func (*ClaimResponse) ProtoReflect

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

func (*ClaimResponse) Reset

func (x *ClaimResponse) Reset()

func (*ClaimResponse) String

func (x *ClaimResponse) String() string

type Request

type Request struct {
	RequestId string     `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	ClientId  string     `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	SentAt    int64      `protobuf:"varint,3,opt,name=sent_at,json=sentAt,proto3" json:"sent_at,omitempty"`
	Expiry    int64      `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
	Multi     bool       `protobuf:"varint,5,opt,name=multi,proto3" json:"multi,omitempty"`
	Request   *anypb.Any `protobuf:"bytes,6,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetClientId

func (x *Request) GetClientId() string

func (*Request) GetExpiry

func (x *Request) GetExpiry() int64

func (*Request) GetMulti

func (x *Request) GetMulti() bool

func (*Request) GetRequest

func (x *Request) GetRequest() *anypb.Any

func (*Request) GetRequestId

func (x *Request) GetRequestId() string

func (*Request) GetSentAt

func (x *Request) GetSentAt() int64

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Response

type Response struct {
	RequestId string     `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	ServerId  string     `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	SentAt    int64      `protobuf:"varint,3,opt,name=sent_at,json=sentAt,proto3" json:"sent_at,omitempty"`
	Response  *anypb.Any `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"`
	Error     string     `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetError

func (x *Response) GetError() string

func (*Response) GetRequestId

func (x *Response) GetRequestId() string

func (*Response) GetResponse

func (x *Response) GetResponse() *anypb.Any

func (*Response) GetSentAt

func (x *Response) GetSentAt() int64

func (*Response) GetServerId

func (x *Response) GetServerId() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

Jump to

Keyboard shortcuts

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