Documentation ¶
Index ¶
- Variables
- type Accept
- func (*Accept) Descriptor() ([]byte, []int)deprecated
- func (x *Accept) GetBody() *EncryptedMessage
- func (x *Accept) GetRequestId() string
- func (*Accept) ProtoMessage()
- func (x *Accept) ProtoReflect() protoreflect.Message
- func (x *Accept) Reset()
- func (x *Accept) String() string
- func (m *Accept) Validate() error
- func (m *Accept) ValidateAll() error
- type AcceptMultiError
- type AcceptValidationError
- type EncryptedMessage
- func (*EncryptedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptedMessage) GetBody() []byte
- func (x *EncryptedMessage) GetPublicKey() string
- func (*EncryptedMessage) ProtoMessage()
- func (x *EncryptedMessage) ProtoReflect() protoreflect.Message
- func (x *EncryptedMessage) Reset()
- func (x *EncryptedMessage) String() string
- func (m *EncryptedMessage) Validate() error
- func (m *EncryptedMessage) ValidateAll() error
- type EncryptedMessageMultiError
- type EncryptedMessageValidationError
- func (e EncryptedMessageValidationError) Cause() error
- func (e EncryptedMessageValidationError) Error() string
- func (e EncryptedMessageValidationError) ErrorName() string
- func (e EncryptedMessageValidationError) Field() string
- func (e EncryptedMessageValidationError) Key() bool
- func (e EncryptedMessageValidationError) Reason() string
- type Initialize
- func (*Initialize) Descriptor() ([]byte, []int)deprecated
- func (x *Initialize) GetServerId() string
- func (*Initialize) ProtoMessage()
- func (x *Initialize) ProtoReflect() protoreflect.Message
- func (x *Initialize) Reset()
- func (x *Initialize) String() string
- func (m *Initialize) Validate() error
- func (m *Initialize) ValidateAll() error
- type InitializeMultiError
- type InitializeValidationError
- type Locate
- func (*Locate) Descriptor() ([]byte, []int)deprecated
- func (x *Locate) GetBody() *EncryptedMessage
- func (x *Locate) GetRequestId() string
- func (*Locate) ProtoMessage()
- func (x *Locate) ProtoReflect() protoreflect.Message
- func (x *Locate) Reset()
- func (x *Locate) String() string
- func (m *Locate) Validate() error
- func (m *Locate) ValidateAll() error
- type LocateMultiError
- type LocateRequest
- func (*LocateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LocateRequest) GetBody() *EncryptedMessage
- func (x *LocateRequest) GetServerId() string
- func (*LocateRequest) ProtoMessage()
- func (x *LocateRequest) ProtoReflect() protoreflect.Message
- func (x *LocateRequest) Reset()
- func (x *LocateRequest) String() string
- func (m *LocateRequest) Validate() error
- func (m *LocateRequest) ValidateAll() error
- type LocateRequestBody
- func (*LocateRequestBody) Descriptor() ([]byte, []int)deprecated
- func (x *LocateRequestBody) GetServerId() string
- func (*LocateRequestBody) ProtoMessage()
- func (x *LocateRequestBody) ProtoReflect() protoreflect.Message
- func (x *LocateRequestBody) Reset()
- func (x *LocateRequestBody) String() string
- func (m *LocateRequestBody) Validate() error
- func (m *LocateRequestBody) ValidateAll() error
- type LocateRequestBodyMultiError
- type LocateRequestBodyValidationError
- func (e LocateRequestBodyValidationError) Cause() error
- func (e LocateRequestBodyValidationError) Error() string
- func (e LocateRequestBodyValidationError) ErrorName() string
- func (e LocateRequestBodyValidationError) Field() string
- func (e LocateRequestBodyValidationError) Key() bool
- func (e LocateRequestBodyValidationError) Reason() string
- type LocateRequestMultiError
- type LocateRequestValidationError
- func (e LocateRequestValidationError) Cause() error
- func (e LocateRequestValidationError) Error() string
- func (e LocateRequestValidationError) ErrorName() string
- func (e LocateRequestValidationError) Field() string
- func (e LocateRequestValidationError) Key() bool
- func (e LocateRequestValidationError) Reason() string
- type LocateResponse
- func (*LocateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LocateResponse) GetBody() *EncryptedMessage
- func (*LocateResponse) ProtoMessage()
- func (x *LocateResponse) ProtoReflect() protoreflect.Message
- func (x *LocateResponse) Reset()
- func (x *LocateResponse) String() string
- func (m *LocateResponse) Validate() error
- func (m *LocateResponse) ValidateAll() error
- type LocateResponseBody
- func (*LocateResponseBody) Descriptor() ([]byte, []int)deprecated
- func (x *LocateResponseBody) GetAddress() string
- func (x *LocateResponseBody) GetPort() uint32
- func (*LocateResponseBody) ProtoMessage()
- func (x *LocateResponseBody) ProtoReflect() protoreflect.Message
- func (x *LocateResponseBody) Reset()
- func (x *LocateResponseBody) String() string
- func (m *LocateResponseBody) Validate() error
- func (m *LocateResponseBody) ValidateAll() error
- type LocateResponseBodyMultiError
- type LocateResponseBodyValidationError
- func (e LocateResponseBodyValidationError) Cause() error
- func (e LocateResponseBodyValidationError) Error() string
- func (e LocateResponseBodyValidationError) ErrorName() string
- func (e LocateResponseBodyValidationError) Field() string
- func (e LocateResponseBodyValidationError) Key() bool
- func (e LocateResponseBodyValidationError) Reason() string
- type LocateResponseMultiError
- type LocateResponseValidationError
- func (e LocateResponseValidationError) Cause() error
- func (e LocateResponseValidationError) Error() string
- func (e LocateResponseValidationError) ErrorName() string
- func (e LocateResponseValidationError) Field() string
- func (e LocateResponseValidationError) Key() bool
- func (e LocateResponseValidationError) Reason() string
- type LocateValidationError
- type LocatorMessage
- func (*LocatorMessage) Descriptor() ([]byte, []int)deprecated
- func (m *LocatorMessage) GetBody() isLocatorMessage_Body
- func (x *LocatorMessage) GetLocate() *Locate
- func (*LocatorMessage) ProtoMessage()
- func (x *LocatorMessage) ProtoReflect() protoreflect.Message
- func (x *LocatorMessage) Reset()
- func (x *LocatorMessage) String() string
- func (m *LocatorMessage) Validate() error
- func (m *LocatorMessage) ValidateAll() error
- type LocatorMessageMultiError
- type LocatorMessageValidationError
- func (e LocatorMessageValidationError) Cause() error
- func (e LocatorMessageValidationError) Error() string
- func (e LocatorMessageValidationError) ErrorName() string
- func (e LocatorMessageValidationError) Field() string
- func (e LocatorMessageValidationError) Key() bool
- func (e LocatorMessageValidationError) Reason() string
- type LocatorMessage_Locate
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetAccountToken() string
- func (x *RegisterRequest) GetServerId() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- func (m *RegisterRequest) Validate() error
- func (m *RegisterRequest) ValidateAll() error
- type RegisterRequestMultiError
- type RegisterRequestValidationError
- func (e RegisterRequestValidationError) Cause() error
- func (e RegisterRequestValidationError) Error() string
- func (e RegisterRequestValidationError) ErrorName() string
- func (e RegisterRequestValidationError) Field() string
- func (e RegisterRequestValidationError) Key() bool
- func (e RegisterRequestValidationError) Reason() string
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResponse) GetAccessToken() string
- func (x *RegisterResponse) GetRefreshToken() string
- func (*RegisterResponse) ProtoMessage()
- func (x *RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResponse) Reset()
- func (x *RegisterResponse) String() string
- func (m *RegisterResponse) Validate() error
- func (m *RegisterResponse) ValidateAll() error
- type RegisterResponseMultiError
- type RegisterResponseValidationError
- func (e RegisterResponseValidationError) Cause() error
- func (e RegisterResponseValidationError) Error() string
- func (e RegisterResponseValidationError) ErrorName() string
- func (e RegisterResponseValidationError) Field() string
- func (e RegisterResponseValidationError) Key() bool
- func (e RegisterResponseValidationError) Reason() string
- type Reject
- func (*Reject) Descriptor() ([]byte, []int)deprecated
- func (x *Reject) GetRequestId() string
- func (*Reject) ProtoMessage()
- func (x *Reject) ProtoReflect() protoreflect.Message
- func (x *Reject) Reset()
- func (x *Reject) String() string
- func (m *Reject) Validate() error
- func (m *Reject) ValidateAll() error
- type RejectMultiError
- type RejectValidationError
- type ServerMessage
- func (*ServerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ServerMessage) GetAccept() *Accept
- func (x *ServerMessage) GetAccessToken() string
- func (m *ServerMessage) GetBody() isServerMessage_Body
- func (x *ServerMessage) GetInitialize() *Initialize
- func (x *ServerMessage) GetReject() *Reject
- func (*ServerMessage) ProtoMessage()
- func (x *ServerMessage) ProtoReflect() protoreflect.Message
- func (x *ServerMessage) Reset()
- func (x *ServerMessage) String() string
- func (m *ServerMessage) Validate() error
- func (m *ServerMessage) ValidateAll() error
- type ServerMessageMultiError
- type ServerMessageValidationError
- func (e ServerMessageValidationError) Cause() error
- func (e ServerMessageValidationError) Error() string
- func (e ServerMessageValidationError) ErrorName() string
- func (e ServerMessageValidationError) Field() string
- func (e ServerMessageValidationError) Key() bool
- func (e ServerMessageValidationError) Reason() string
- type ServerMessage_Accept
- type ServerMessage_Initialize
- type ServerMessage_Reject
Constants ¶
This section is empty.
Variables ¶
var File_platform_locator_v1_locator_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Accept ¶
type Accept struct { RequestId string `` /* 145-byte string literal not displayed */ // body is of type LocateResponseBody Body *EncryptedMessage `protobuf:"bytes,2,opt,name=body,proto3" json:"body" bun:"body" csv:"body" pg:"body" yaml:"body"` // contains filtered or unexported fields }
func (*Accept) Descriptor
deprecated
func (*Accept) GetBody ¶
func (x *Accept) GetBody() *EncryptedMessage
func (*Accept) GetRequestId ¶
func (*Accept) ProtoMessage ¶
func (*Accept) ProtoMessage()
func (*Accept) ProtoReflect ¶
func (x *Accept) ProtoReflect() protoreflect.Message
func (*Accept) Validate ¶
Validate checks the field values on Accept with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Accept) ValidateAll ¶
ValidateAll checks the field values on Accept with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AcceptMultiError, or nil if none found.
type AcceptMultiError ¶
type AcceptMultiError []error
AcceptMultiError is an error wrapping multiple validation errors returned by Accept.ValidateAll() if the designated constraints aren't met.
func (AcceptMultiError) AllErrors ¶
func (m AcceptMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AcceptMultiError) Error ¶
func (m AcceptMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AcceptValidationError ¶
type AcceptValidationError struct {
// contains filtered or unexported fields
}
AcceptValidationError is the validation error returned by Accept.Validate if the designated constraints aren't met.
func (AcceptValidationError) Cause ¶
func (e AcceptValidationError) Cause() error
Cause function returns cause value.
func (AcceptValidationError) Error ¶
func (e AcceptValidationError) Error() string
Error satisfies the builtin error interface
func (AcceptValidationError) ErrorName ¶
func (e AcceptValidationError) ErrorName() string
ErrorName returns error name.
func (AcceptValidationError) Field ¶
func (e AcceptValidationError) Field() string
Field function returns field value.
func (AcceptValidationError) Key ¶
func (e AcceptValidationError) Key() bool
Key function returns key value.
func (AcceptValidationError) Reason ¶
func (e AcceptValidationError) Reason() string
Reason function returns reason value.
type EncryptedMessage ¶
type EncryptedMessage struct { PublicKey string `` /* 145-byte string literal not displayed */ // body is an encrypted protobuf message that can be decrypted using the given public key Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body" bun:"body" csv:"body" pg:"body" yaml:"body"` // contains filtered or unexported fields }
func (*EncryptedMessage) Descriptor
deprecated
func (*EncryptedMessage) Descriptor() ([]byte, []int)
Deprecated: Use EncryptedMessage.ProtoReflect.Descriptor instead.
func (*EncryptedMessage) GetBody ¶
func (x *EncryptedMessage) GetBody() []byte
func (*EncryptedMessage) GetPublicKey ¶
func (x *EncryptedMessage) GetPublicKey() string
func (*EncryptedMessage) ProtoMessage ¶
func (*EncryptedMessage) ProtoMessage()
func (*EncryptedMessage) ProtoReflect ¶
func (x *EncryptedMessage) ProtoReflect() protoreflect.Message
func (*EncryptedMessage) Reset ¶
func (x *EncryptedMessage) Reset()
func (*EncryptedMessage) String ¶
func (x *EncryptedMessage) String() string
func (*EncryptedMessage) Validate ¶
func (m *EncryptedMessage) Validate() error
Validate checks the field values on EncryptedMessage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EncryptedMessage) ValidateAll ¶
func (m *EncryptedMessage) ValidateAll() error
ValidateAll checks the field values on EncryptedMessage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EncryptedMessageMultiError, or nil if none found.
type EncryptedMessageMultiError ¶
type EncryptedMessageMultiError []error
EncryptedMessageMultiError is an error wrapping multiple validation errors returned by EncryptedMessage.ValidateAll() if the designated constraints aren't met.
func (EncryptedMessageMultiError) AllErrors ¶
func (m EncryptedMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EncryptedMessageMultiError) Error ¶
func (m EncryptedMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EncryptedMessageValidationError ¶
type EncryptedMessageValidationError struct {
// contains filtered or unexported fields
}
EncryptedMessageValidationError is the validation error returned by EncryptedMessage.Validate if the designated constraints aren't met.
func (EncryptedMessageValidationError) Cause ¶
func (e EncryptedMessageValidationError) Cause() error
Cause function returns cause value.
func (EncryptedMessageValidationError) Error ¶
func (e EncryptedMessageValidationError) Error() string
Error satisfies the builtin error interface
func (EncryptedMessageValidationError) ErrorName ¶
func (e EncryptedMessageValidationError) ErrorName() string
ErrorName returns error name.
func (EncryptedMessageValidationError) Field ¶
func (e EncryptedMessageValidationError) Field() string
Field function returns field value.
func (EncryptedMessageValidationError) Key ¶
func (e EncryptedMessageValidationError) Key() bool
Key function returns key value.
func (EncryptedMessageValidationError) Reason ¶
func (e EncryptedMessageValidationError) Reason() string
Reason function returns reason value.
type Initialize ¶
type Initialize struct { ServerId string `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Initialize) Descriptor
deprecated
func (*Initialize) Descriptor() ([]byte, []int)
Deprecated: Use Initialize.ProtoReflect.Descriptor instead.
func (*Initialize) GetServerId ¶
func (x *Initialize) GetServerId() string
func (*Initialize) ProtoMessage ¶
func (*Initialize) ProtoMessage()
func (*Initialize) ProtoReflect ¶
func (x *Initialize) ProtoReflect() protoreflect.Message
func (*Initialize) Reset ¶
func (x *Initialize) Reset()
func (*Initialize) String ¶
func (x *Initialize) String() string
func (*Initialize) Validate ¶
func (m *Initialize) Validate() error
Validate checks the field values on Initialize with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Initialize) ValidateAll ¶
func (m *Initialize) ValidateAll() error
ValidateAll checks the field values on Initialize with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InitializeMultiError, or nil if none found.
type InitializeMultiError ¶
type InitializeMultiError []error
InitializeMultiError is an error wrapping multiple validation errors returned by Initialize.ValidateAll() if the designated constraints aren't met.
func (InitializeMultiError) AllErrors ¶
func (m InitializeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InitializeMultiError) Error ¶
func (m InitializeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InitializeValidationError ¶
type InitializeValidationError struct {
// contains filtered or unexported fields
}
InitializeValidationError is the validation error returned by Initialize.Validate if the designated constraints aren't met.
func (InitializeValidationError) Cause ¶
func (e InitializeValidationError) Cause() error
Cause function returns cause value.
func (InitializeValidationError) Error ¶
func (e InitializeValidationError) Error() string
Error satisfies the builtin error interface
func (InitializeValidationError) ErrorName ¶
func (e InitializeValidationError) ErrorName() string
ErrorName returns error name.
func (InitializeValidationError) Field ¶
func (e InitializeValidationError) Field() string
Field function returns field value.
func (InitializeValidationError) Key ¶
func (e InitializeValidationError) Key() bool
Key function returns key value.
func (InitializeValidationError) Reason ¶
func (e InitializeValidationError) Reason() string
Reason function returns reason value.
type Locate ¶
type Locate struct { RequestId string `` /* 145-byte string literal not displayed */ // body is of type LocateRequestBody Body *EncryptedMessage `protobuf:"bytes,2,opt,name=body,proto3" json:"body" bun:"body" csv:"body" pg:"body" yaml:"body"` // contains filtered or unexported fields }
func (*Locate) Descriptor
deprecated
func (*Locate) GetBody ¶
func (x *Locate) GetBody() *EncryptedMessage
func (*Locate) GetRequestId ¶
func (*Locate) ProtoMessage ¶
func (*Locate) ProtoMessage()
func (*Locate) ProtoReflect ¶
func (x *Locate) ProtoReflect() protoreflect.Message
func (*Locate) Validate ¶
Validate checks the field values on Locate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Locate) ValidateAll ¶
ValidateAll checks the field values on Locate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocateMultiError, or nil if none found.
type LocateMultiError ¶
type LocateMultiError []error
LocateMultiError is an error wrapping multiple validation errors returned by Locate.ValidateAll() if the designated constraints aren't met.
func (LocateMultiError) AllErrors ¶
func (m LocateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LocateMultiError) Error ¶
func (m LocateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LocateRequest ¶
type LocateRequest struct { ServerId string `` /* 138-byte string literal not displayed */ // body is of type LocateRequestBody Body *EncryptedMessage `protobuf:"bytes,2,opt,name=body,proto3" json:"body" bun:"body" csv:"body" pg:"body" yaml:"body"` // contains filtered or unexported fields }
func (*LocateRequest) Descriptor
deprecated
func (*LocateRequest) Descriptor() ([]byte, []int)
Deprecated: Use LocateRequest.ProtoReflect.Descriptor instead.
func (*LocateRequest) GetBody ¶
func (x *LocateRequest) GetBody() *EncryptedMessage
func (*LocateRequest) GetServerId ¶
func (x *LocateRequest) GetServerId() string
func (*LocateRequest) ProtoMessage ¶
func (*LocateRequest) ProtoMessage()
func (*LocateRequest) ProtoReflect ¶
func (x *LocateRequest) ProtoReflect() protoreflect.Message
func (*LocateRequest) Reset ¶
func (x *LocateRequest) Reset()
func (*LocateRequest) String ¶
func (x *LocateRequest) String() string
func (*LocateRequest) Validate ¶
func (m *LocateRequest) Validate() error
Validate checks the field values on LocateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LocateRequest) ValidateAll ¶
func (m *LocateRequest) ValidateAll() error
ValidateAll checks the field values on LocateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocateRequestMultiError, or nil if none found.
type LocateRequestBody ¶
type LocateRequestBody struct { ServerId string `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LocateRequestBody) Descriptor
deprecated
func (*LocateRequestBody) Descriptor() ([]byte, []int)
Deprecated: Use LocateRequestBody.ProtoReflect.Descriptor instead.
func (*LocateRequestBody) GetServerId ¶
func (x *LocateRequestBody) GetServerId() string
func (*LocateRequestBody) ProtoMessage ¶
func (*LocateRequestBody) ProtoMessage()
func (*LocateRequestBody) ProtoReflect ¶
func (x *LocateRequestBody) ProtoReflect() protoreflect.Message
func (*LocateRequestBody) Reset ¶
func (x *LocateRequestBody) Reset()
func (*LocateRequestBody) String ¶
func (x *LocateRequestBody) String() string
func (*LocateRequestBody) Validate ¶
func (m *LocateRequestBody) Validate() error
Validate checks the field values on LocateRequestBody with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LocateRequestBody) ValidateAll ¶
func (m *LocateRequestBody) ValidateAll() error
ValidateAll checks the field values on LocateRequestBody with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocateRequestBodyMultiError, or nil if none found.
type LocateRequestBodyMultiError ¶
type LocateRequestBodyMultiError []error
LocateRequestBodyMultiError is an error wrapping multiple validation errors returned by LocateRequestBody.ValidateAll() if the designated constraints aren't met.
func (LocateRequestBodyMultiError) AllErrors ¶
func (m LocateRequestBodyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LocateRequestBodyMultiError) Error ¶
func (m LocateRequestBodyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LocateRequestBodyValidationError ¶
type LocateRequestBodyValidationError struct {
// contains filtered or unexported fields
}
LocateRequestBodyValidationError is the validation error returned by LocateRequestBody.Validate if the designated constraints aren't met.
func (LocateRequestBodyValidationError) Cause ¶
func (e LocateRequestBodyValidationError) Cause() error
Cause function returns cause value.
func (LocateRequestBodyValidationError) Error ¶
func (e LocateRequestBodyValidationError) Error() string
Error satisfies the builtin error interface
func (LocateRequestBodyValidationError) ErrorName ¶
func (e LocateRequestBodyValidationError) ErrorName() string
ErrorName returns error name.
func (LocateRequestBodyValidationError) Field ¶
func (e LocateRequestBodyValidationError) Field() string
Field function returns field value.
func (LocateRequestBodyValidationError) Key ¶
func (e LocateRequestBodyValidationError) Key() bool
Key function returns key value.
func (LocateRequestBodyValidationError) Reason ¶
func (e LocateRequestBodyValidationError) Reason() string
Reason function returns reason value.
type LocateRequestMultiError ¶
type LocateRequestMultiError []error
LocateRequestMultiError is an error wrapping multiple validation errors returned by LocateRequest.ValidateAll() if the designated constraints aren't met.
func (LocateRequestMultiError) AllErrors ¶
func (m LocateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LocateRequestMultiError) Error ¶
func (m LocateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LocateRequestValidationError ¶
type LocateRequestValidationError struct {
// contains filtered or unexported fields
}
LocateRequestValidationError is the validation error returned by LocateRequest.Validate if the designated constraints aren't met.
func (LocateRequestValidationError) Cause ¶
func (e LocateRequestValidationError) Cause() error
Cause function returns cause value.
func (LocateRequestValidationError) Error ¶
func (e LocateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LocateRequestValidationError) ErrorName ¶
func (e LocateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LocateRequestValidationError) Field ¶
func (e LocateRequestValidationError) Field() string
Field function returns field value.
func (LocateRequestValidationError) Key ¶
func (e LocateRequestValidationError) Key() bool
Key function returns key value.
func (LocateRequestValidationError) Reason ¶
func (e LocateRequestValidationError) Reason() string
Reason function returns reason value.
type LocateResponse ¶
type LocateResponse struct { // body is of type LocateResponseBody Body *EncryptedMessage `protobuf:"bytes,1,opt,name=body,proto3" json:"body" bun:"body" csv:"body" pg:"body" yaml:"body"` // contains filtered or unexported fields }
func (*LocateResponse) Descriptor
deprecated
func (*LocateResponse) Descriptor() ([]byte, []int)
Deprecated: Use LocateResponse.ProtoReflect.Descriptor instead.
func (*LocateResponse) GetBody ¶
func (x *LocateResponse) GetBody() *EncryptedMessage
func (*LocateResponse) ProtoMessage ¶
func (*LocateResponse) ProtoMessage()
func (*LocateResponse) ProtoReflect ¶
func (x *LocateResponse) ProtoReflect() protoreflect.Message
func (*LocateResponse) Reset ¶
func (x *LocateResponse) Reset()
func (*LocateResponse) String ¶
func (x *LocateResponse) String() string
func (*LocateResponse) Validate ¶
func (m *LocateResponse) Validate() error
Validate checks the field values on LocateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LocateResponse) ValidateAll ¶
func (m *LocateResponse) ValidateAll() error
ValidateAll checks the field values on LocateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocateResponseMultiError, or nil if none found.
type LocateResponseBody ¶
type LocateResponseBody struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address" bun:"address" csv:"address" pg:"address" yaml:"address"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port" bun:"port" csv:"port" pg:"port" yaml:"port"` // contains filtered or unexported fields }
func (*LocateResponseBody) Descriptor
deprecated
func (*LocateResponseBody) Descriptor() ([]byte, []int)
Deprecated: Use LocateResponseBody.ProtoReflect.Descriptor instead.
func (*LocateResponseBody) GetAddress ¶
func (x *LocateResponseBody) GetAddress() string
func (*LocateResponseBody) GetPort ¶
func (x *LocateResponseBody) GetPort() uint32
func (*LocateResponseBody) ProtoMessage ¶
func (*LocateResponseBody) ProtoMessage()
func (*LocateResponseBody) ProtoReflect ¶
func (x *LocateResponseBody) ProtoReflect() protoreflect.Message
func (*LocateResponseBody) Reset ¶
func (x *LocateResponseBody) Reset()
func (*LocateResponseBody) String ¶
func (x *LocateResponseBody) String() string
func (*LocateResponseBody) Validate ¶
func (m *LocateResponseBody) Validate() error
Validate checks the field values on LocateResponseBody with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LocateResponseBody) ValidateAll ¶
func (m *LocateResponseBody) ValidateAll() error
ValidateAll checks the field values on LocateResponseBody with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocateResponseBodyMultiError, or nil if none found.
type LocateResponseBodyMultiError ¶
type LocateResponseBodyMultiError []error
LocateResponseBodyMultiError is an error wrapping multiple validation errors returned by LocateResponseBody.ValidateAll() if the designated constraints aren't met.
func (LocateResponseBodyMultiError) AllErrors ¶
func (m LocateResponseBodyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LocateResponseBodyMultiError) Error ¶
func (m LocateResponseBodyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LocateResponseBodyValidationError ¶
type LocateResponseBodyValidationError struct {
// contains filtered or unexported fields
}
LocateResponseBodyValidationError is the validation error returned by LocateResponseBody.Validate if the designated constraints aren't met.
func (LocateResponseBodyValidationError) Cause ¶
func (e LocateResponseBodyValidationError) Cause() error
Cause function returns cause value.
func (LocateResponseBodyValidationError) Error ¶
func (e LocateResponseBodyValidationError) Error() string
Error satisfies the builtin error interface
func (LocateResponseBodyValidationError) ErrorName ¶
func (e LocateResponseBodyValidationError) ErrorName() string
ErrorName returns error name.
func (LocateResponseBodyValidationError) Field ¶
func (e LocateResponseBodyValidationError) Field() string
Field function returns field value.
func (LocateResponseBodyValidationError) Key ¶
func (e LocateResponseBodyValidationError) Key() bool
Key function returns key value.
func (LocateResponseBodyValidationError) Reason ¶
func (e LocateResponseBodyValidationError) Reason() string
Reason function returns reason value.
type LocateResponseMultiError ¶
type LocateResponseMultiError []error
LocateResponseMultiError is an error wrapping multiple validation errors returned by LocateResponse.ValidateAll() if the designated constraints aren't met.
func (LocateResponseMultiError) AllErrors ¶
func (m LocateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LocateResponseMultiError) Error ¶
func (m LocateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LocateResponseValidationError ¶
type LocateResponseValidationError struct {
// contains filtered or unexported fields
}
LocateResponseValidationError is the validation error returned by LocateResponse.Validate if the designated constraints aren't met.
func (LocateResponseValidationError) Cause ¶
func (e LocateResponseValidationError) Cause() error
Cause function returns cause value.
func (LocateResponseValidationError) Error ¶
func (e LocateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LocateResponseValidationError) ErrorName ¶
func (e LocateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LocateResponseValidationError) Field ¶
func (e LocateResponseValidationError) Field() string
Field function returns field value.
func (LocateResponseValidationError) Key ¶
func (e LocateResponseValidationError) Key() bool
Key function returns key value.
func (LocateResponseValidationError) Reason ¶
func (e LocateResponseValidationError) Reason() string
Reason function returns reason value.
type LocateValidationError ¶
type LocateValidationError struct {
// contains filtered or unexported fields
}
LocateValidationError is the validation error returned by Locate.Validate if the designated constraints aren't met.
func (LocateValidationError) Cause ¶
func (e LocateValidationError) Cause() error
Cause function returns cause value.
func (LocateValidationError) Error ¶
func (e LocateValidationError) Error() string
Error satisfies the builtin error interface
func (LocateValidationError) ErrorName ¶
func (e LocateValidationError) ErrorName() string
ErrorName returns error name.
func (LocateValidationError) Field ¶
func (e LocateValidationError) Field() string
Field function returns field value.
func (LocateValidationError) Key ¶
func (e LocateValidationError) Key() bool
Key function returns key value.
func (LocateValidationError) Reason ¶
func (e LocateValidationError) Reason() string
Reason function returns reason value.
type LocatorMessage ¶
type LocatorMessage struct { // Types that are assignable to Body: // // *LocatorMessage_Locate Body isLocatorMessage_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
LocatorMessage prompts the server to send a valid address and port for a client connection. The server can choose to accept or reject the locate request.
func (*LocatorMessage) Descriptor
deprecated
func (*LocatorMessage) Descriptor() ([]byte, []int)
Deprecated: Use LocatorMessage.ProtoReflect.Descriptor instead.
func (*LocatorMessage) GetBody ¶
func (m *LocatorMessage) GetBody() isLocatorMessage_Body
func (*LocatorMessage) GetLocate ¶
func (x *LocatorMessage) GetLocate() *Locate
func (*LocatorMessage) ProtoMessage ¶
func (*LocatorMessage) ProtoMessage()
func (*LocatorMessage) ProtoReflect ¶
func (x *LocatorMessage) ProtoReflect() protoreflect.Message
func (*LocatorMessage) Reset ¶
func (x *LocatorMessage) Reset()
func (*LocatorMessage) String ¶
func (x *LocatorMessage) String() string
func (*LocatorMessage) Validate ¶
func (m *LocatorMessage) Validate() error
Validate checks the field values on LocatorMessage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LocatorMessage) ValidateAll ¶
func (m *LocatorMessage) ValidateAll() error
ValidateAll checks the field values on LocatorMessage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocatorMessageMultiError, or nil if none found.
type LocatorMessageMultiError ¶
type LocatorMessageMultiError []error
LocatorMessageMultiError is an error wrapping multiple validation errors returned by LocatorMessage.ValidateAll() if the designated constraints aren't met.
func (LocatorMessageMultiError) AllErrors ¶
func (m LocatorMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LocatorMessageMultiError) Error ¶
func (m LocatorMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LocatorMessageValidationError ¶
type LocatorMessageValidationError struct {
// contains filtered or unexported fields
}
LocatorMessageValidationError is the validation error returned by LocatorMessage.Validate if the designated constraints aren't met.
func (LocatorMessageValidationError) Cause ¶
func (e LocatorMessageValidationError) Cause() error
Cause function returns cause value.
func (LocatorMessageValidationError) Error ¶
func (e LocatorMessageValidationError) Error() string
Error satisfies the builtin error interface
func (LocatorMessageValidationError) ErrorName ¶
func (e LocatorMessageValidationError) ErrorName() string
ErrorName returns error name.
func (LocatorMessageValidationError) Field ¶
func (e LocatorMessageValidationError) Field() string
Field function returns field value.
func (LocatorMessageValidationError) Key ¶
func (e LocatorMessageValidationError) Key() bool
Key function returns key value.
func (LocatorMessageValidationError) Reason ¶
func (e LocatorMessageValidationError) Reason() string
Reason function returns reason value.
type LocatorMessage_Locate ¶
type LocatorMessage_Locate struct {
Locate *Locate `protobuf:"bytes,1,opt,name=locate,proto3,oneof" bun:"locate" csv:"locate" json:"locate" pg:"locate" yaml:"locate"`
}
type RegisterRequest ¶
type RegisterRequest struct { AccountToken string `` /* 166-byte string literal not displayed */ ServerId string `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetAccountToken ¶
func (x *RegisterRequest) GetAccountToken() string
func (*RegisterRequest) GetServerId ¶
func (x *RegisterRequest) GetServerId() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
func (*RegisterRequest) Validate ¶
func (m *RegisterRequest) Validate() error
Validate checks the field values on RegisterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterRequest) ValidateAll ¶
func (m *RegisterRequest) ValidateAll() error
ValidateAll checks the field values on RegisterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterRequestMultiError, or nil if none found.
type RegisterRequestMultiError ¶
type RegisterRequestMultiError []error
RegisterRequestMultiError is an error wrapping multiple validation errors returned by RegisterRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterRequestMultiError) AllErrors ¶
func (m RegisterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterRequestMultiError) Error ¶
func (m RegisterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterRequestValidationError ¶
type RegisterRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.
func (RegisterRequestValidationError) Cause ¶
func (e RegisterRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterRequestValidationError) Error ¶
func (e RegisterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterRequestValidationError) ErrorName ¶
func (e RegisterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterRequestValidationError) Field ¶
func (e RegisterRequestValidationError) Field() string
Field function returns field value.
func (RegisterRequestValidationError) Key ¶
func (e RegisterRequestValidationError) Key() bool
Key function returns key value.
func (RegisterRequestValidationError) Reason ¶
func (e RegisterRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterResponse ¶
type RegisterResponse struct { RefreshToken string `` /* 166-byte string literal not displayed */ AccessToken string `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetAccessToken ¶
func (x *RegisterResponse) GetAccessToken() string
func (*RegisterResponse) GetRefreshToken ¶
func (x *RegisterResponse) GetRefreshToken() string
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
func (*RegisterResponse) Validate ¶
func (m *RegisterResponse) Validate() error
Validate checks the field values on RegisterResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterResponse) ValidateAll ¶
func (m *RegisterResponse) ValidateAll() error
ValidateAll checks the field values on RegisterResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterResponseMultiError, or nil if none found.
type RegisterResponseMultiError ¶
type RegisterResponseMultiError []error
RegisterResponseMultiError is an error wrapping multiple validation errors returned by RegisterResponse.ValidateAll() if the designated constraints aren't met.
func (RegisterResponseMultiError) AllErrors ¶
func (m RegisterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterResponseMultiError) Error ¶
func (m RegisterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterResponseValidationError ¶
type RegisterResponseValidationError struct {
// contains filtered or unexported fields
}
RegisterResponseValidationError is the validation error returned by RegisterResponse.Validate if the designated constraints aren't met.
func (RegisterResponseValidationError) Cause ¶
func (e RegisterResponseValidationError) Cause() error
Cause function returns cause value.
func (RegisterResponseValidationError) Error ¶
func (e RegisterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterResponseValidationError) ErrorName ¶
func (e RegisterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterResponseValidationError) Field ¶
func (e RegisterResponseValidationError) Field() string
Field function returns field value.
func (RegisterResponseValidationError) Key ¶
func (e RegisterResponseValidationError) Key() bool
Key function returns key value.
func (RegisterResponseValidationError) Reason ¶
func (e RegisterResponseValidationError) Reason() string
Reason function returns reason value.
type Reject ¶
type Reject struct { RequestId string `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Reject) Descriptor
deprecated
func (*Reject) GetRequestId ¶
func (*Reject) ProtoMessage ¶
func (*Reject) ProtoMessage()
func (*Reject) ProtoReflect ¶
func (x *Reject) ProtoReflect() protoreflect.Message
func (*Reject) Validate ¶
Validate checks the field values on Reject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Reject) ValidateAll ¶
ValidateAll checks the field values on Reject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RejectMultiError, or nil if none found.
type RejectMultiError ¶
type RejectMultiError []error
RejectMultiError is an error wrapping multiple validation errors returned by Reject.ValidateAll() if the designated constraints aren't met.
func (RejectMultiError) AllErrors ¶
func (m RejectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RejectMultiError) Error ¶
func (m RejectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RejectValidationError ¶
type RejectValidationError struct {
// contains filtered or unexported fields
}
RejectValidationError is the validation error returned by Reject.Validate if the designated constraints aren't met.
func (RejectValidationError) Cause ¶
func (e RejectValidationError) Cause() error
Cause function returns cause value.
func (RejectValidationError) Error ¶
func (e RejectValidationError) Error() string
Error satisfies the builtin error interface
func (RejectValidationError) ErrorName ¶
func (e RejectValidationError) ErrorName() string
ErrorName returns error name.
func (RejectValidationError) Field ¶
func (e RejectValidationError) Field() string
Field function returns field value.
func (RejectValidationError) Key ¶
func (e RejectValidationError) Key() bool
Key function returns key value.
func (RejectValidationError) Reason ¶
func (e RejectValidationError) Reason() string
Reason function returns reason value.
type ServerMessage ¶
type ServerMessage struct { AccessToken string `` /* 159-byte string literal not displayed */ // Types that are assignable to Body: // // *ServerMessage_Initialize // *ServerMessage_Accept // *ServerMessage_Reject Body isServerMessage_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
func (*ServerMessage) Descriptor
deprecated
func (*ServerMessage) Descriptor() ([]byte, []int)
Deprecated: Use ServerMessage.ProtoReflect.Descriptor instead.
func (*ServerMessage) GetAccept ¶
func (x *ServerMessage) GetAccept() *Accept
func (*ServerMessage) GetAccessToken ¶
func (x *ServerMessage) GetAccessToken() string
func (*ServerMessage) GetBody ¶
func (m *ServerMessage) GetBody() isServerMessage_Body
func (*ServerMessage) GetInitialize ¶
func (x *ServerMessage) GetInitialize() *Initialize
func (*ServerMessage) GetReject ¶
func (x *ServerMessage) GetReject() *Reject
func (*ServerMessage) ProtoMessage ¶
func (*ServerMessage) ProtoMessage()
func (*ServerMessage) ProtoReflect ¶
func (x *ServerMessage) ProtoReflect() protoreflect.Message
func (*ServerMessage) Reset ¶
func (x *ServerMessage) Reset()
func (*ServerMessage) String ¶
func (x *ServerMessage) String() string
func (*ServerMessage) Validate ¶
func (m *ServerMessage) Validate() error
Validate checks the field values on ServerMessage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServerMessage) ValidateAll ¶
func (m *ServerMessage) ValidateAll() error
ValidateAll checks the field values on ServerMessage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServerMessageMultiError, or nil if none found.
type ServerMessageMultiError ¶
type ServerMessageMultiError []error
ServerMessageMultiError is an error wrapping multiple validation errors returned by ServerMessage.ValidateAll() if the designated constraints aren't met.
func (ServerMessageMultiError) AllErrors ¶
func (m ServerMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServerMessageMultiError) Error ¶
func (m ServerMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServerMessageValidationError ¶
type ServerMessageValidationError struct {
// contains filtered or unexported fields
}
ServerMessageValidationError is the validation error returned by ServerMessage.Validate if the designated constraints aren't met.
func (ServerMessageValidationError) Cause ¶
func (e ServerMessageValidationError) Cause() error
Cause function returns cause value.
func (ServerMessageValidationError) Error ¶
func (e ServerMessageValidationError) Error() string
Error satisfies the builtin error interface
func (ServerMessageValidationError) ErrorName ¶
func (e ServerMessageValidationError) ErrorName() string
ErrorName returns error name.
func (ServerMessageValidationError) Field ¶
func (e ServerMessageValidationError) Field() string
Field function returns field value.
func (ServerMessageValidationError) Key ¶
func (e ServerMessageValidationError) Key() bool
Key function returns key value.
func (ServerMessageValidationError) Reason ¶
func (e ServerMessageValidationError) Reason() string
Reason function returns reason value.
type ServerMessage_Accept ¶
type ServerMessage_Accept struct {
Accept *Accept `protobuf:"bytes,3,opt,name=accept,proto3,oneof" bun:"accept" csv:"accept" json:"accept" pg:"accept" yaml:"accept"`
}
type ServerMessage_Initialize ¶
type ServerMessage_Initialize struct {
Initialize *Initialize `` /* 137-byte string literal not displayed */
}
type ServerMessage_Reject ¶
type ServerMessage_Reject struct {
Reject *Reject `protobuf:"bytes,4,opt,name=reject,proto3,oneof" bun:"reject" csv:"reject" json:"reject" pg:"reject" yaml:"reject"`
}