v1

package
v0.4.21 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

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

Deprecated: Use Accept.ProtoReflect.Descriptor instead.

func (*Accept) GetBody

func (x *Accept) GetBody() *EncryptedMessage

func (*Accept) GetRequestId

func (x *Accept) GetRequestId() string

func (*Accept) ProtoMessage

func (*Accept) ProtoMessage()

func (*Accept) ProtoReflect

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

func (*Accept) Reset

func (x *Accept) Reset()

func (*Accept) String

func (x *Accept) String() string

func (*Accept) Validate

func (m *Accept) Validate() error

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

func (m *Accept) ValidateAll() error

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

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

Cause function returns cause value.

func (EncryptedMessageValidationError) Error

Error satisfies the builtin error interface

func (EncryptedMessageValidationError) ErrorName

ErrorName returns error name.

func (EncryptedMessageValidationError) Field

Field function returns field value.

func (EncryptedMessageValidationError) Key

Key function returns key value.

func (EncryptedMessageValidationError) Reason

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

Error satisfies the builtin error interface

func (InitializeValidationError) ErrorName

func (e InitializeValidationError) ErrorName() string

ErrorName returns error name.

func (InitializeValidationError) Field

Field function returns field value.

func (InitializeValidationError) Key

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

Deprecated: Use Locate.ProtoReflect.Descriptor instead.

func (*Locate) GetBody

func (x *Locate) GetBody() *EncryptedMessage

func (*Locate) GetRequestId

func (x *Locate) GetRequestId() string

func (*Locate) ProtoMessage

func (*Locate) ProtoMessage()

func (*Locate) ProtoReflect

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

func (*Locate) Reset

func (x *Locate) Reset()

func (*Locate) String

func (x *Locate) String() string

func (*Locate) Validate

func (m *Locate) Validate() error

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

func (m *Locate) ValidateAll() error

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

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

Cause function returns cause value.

func (LocateRequestBodyValidationError) Error

Error satisfies the builtin error interface

func (LocateRequestBodyValidationError) ErrorName

ErrorName returns error name.

func (LocateRequestBodyValidationError) Field

Field function returns field value.

func (LocateRequestBodyValidationError) Key

Key function returns key value.

func (LocateRequestBodyValidationError) Reason

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

Cause function returns cause value.

func (LocateRequestValidationError) Error

Error satisfies the builtin error interface

func (LocateRequestValidationError) ErrorName

func (e LocateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LocateRequestValidationError) Field

Field function returns field value.

func (LocateRequestValidationError) Key

Key function returns key value.

func (LocateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (LocateResponseBodyValidationError) Error

Error satisfies the builtin error interface

func (LocateResponseBodyValidationError) ErrorName

ErrorName returns error name.

func (LocateResponseBodyValidationError) Field

Field function returns field value.

func (LocateResponseBodyValidationError) Key

Key function returns key value.

func (LocateResponseBodyValidationError) Reason

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

Cause function returns cause value.

func (LocateResponseValidationError) Error

Error satisfies the builtin error interface

func (LocateResponseValidationError) ErrorName

func (e LocateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LocateResponseValidationError) Field

Field function returns field value.

func (LocateResponseValidationError) Key

Key function returns key value.

func (LocateResponseValidationError) Reason

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

Cause function returns cause value.

func (LocatorMessageValidationError) Error

Error satisfies the builtin error interface

func (LocatorMessageValidationError) ErrorName

func (e LocatorMessageValidationError) ErrorName() string

ErrorName returns error name.

func (LocatorMessageValidationError) Field

Field function returns field value.

func (LocatorMessageValidationError) Key

Key function returns key value.

func (LocatorMessageValidationError) Reason

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

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

Cause function returns cause value.

func (RegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterRequestValidationError) ErrorName

func (e RegisterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterRequestValidationError) Field

Field function returns field value.

func (RegisterRequestValidationError) Key

Key function returns key value.

func (RegisterRequestValidationError) Reason

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

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

Cause function returns cause value.

func (RegisterResponseValidationError) Error

Error satisfies the builtin error interface

func (RegisterResponseValidationError) ErrorName

ErrorName returns error name.

func (RegisterResponseValidationError) Field

Field function returns field value.

func (RegisterResponseValidationError) Key

Key function returns key value.

func (RegisterResponseValidationError) Reason

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

Deprecated: Use Reject.ProtoReflect.Descriptor instead.

func (*Reject) GetRequestId

func (x *Reject) GetRequestId() string

func (*Reject) ProtoMessage

func (*Reject) ProtoMessage()

func (*Reject) ProtoReflect

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

func (*Reject) Reset

func (x *Reject) Reset()

func (*Reject) String

func (x *Reject) String() string

func (*Reject) Validate

func (m *Reject) Validate() error

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

func (m *Reject) ValidateAll() error

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

Cause function returns cause value.

func (ServerMessageValidationError) Error

Error satisfies the builtin error interface

func (ServerMessageValidationError) ErrorName

func (e ServerMessageValidationError) ErrorName() string

ErrorName returns error name.

func (ServerMessageValidationError) Field

Field function returns field value.

func (ServerMessageValidationError) Key

Key function returns key value.

func (ServerMessageValidationError) Reason

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"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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