Documentation ¶
Index ¶
- Variables
- type ClaimRequest
- func (*ClaimRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimRequest) GetAffinity() float32
- func (x *ClaimRequest) GetRequestId() string
- func (x *ClaimRequest) GetServerId() string
- func (*ClaimRequest) ProtoMessage()
- func (x *ClaimRequest) ProtoReflect() protoreflect.Message
- func (x *ClaimRequest) Reset()
- func (x *ClaimRequest) String() string
- type ClaimResponse
- func (*ClaimResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimResponse) GetRequestId() string
- func (x *ClaimResponse) GetServerId() string
- func (*ClaimResponse) ProtoMessage()
- func (x *ClaimResponse) ProtoReflect() protoreflect.Message
- func (x *ClaimResponse) Reset()
- func (x *ClaimResponse) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetClientId() string
- func (x *Request) GetExpiry() int64
- func (x *Request) GetMulti() bool
- func (x *Request) GetRequest() *anypb.Any
- func (x *Request) GetRequestId() string
- func (x *Request) GetSentAt() int64
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetCode() string
- func (x *Response) GetError() string
- func (x *Response) GetRequestId() string
- func (x *Response) GetResponse() *anypb.Any
- func (x *Response) GetSentAt() int64
- func (x *Response) GetServerId() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
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) GetClientId ¶
func (*Request) GetRequest ¶
func (*Request) GetRequestId ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
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"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetRequestId ¶
func (*Response) GetResponse ¶
func (*Response) GetServerId ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.