Documentation
¶
Index ¶
- Variables
- type AppInstallId
- func (*AppInstallId) Descriptor() ([]byte, []int)deprecated
- func (x *AppInstallId) GetValue() string
- func (*AppInstallId) ProtoMessage()
- func (x *AppInstallId) ProtoReflect() protoreflect.Message
- func (x *AppInstallId) Reset()
- func (x *AppInstallId) String() string
- func (m *AppInstallId) Validate() error
- func (m *AppInstallId) ValidateAll() error
- type AppInstallIdMultiError
- type AppInstallIdValidationError
- func (e AppInstallIdValidationError) Cause() error
- func (e AppInstallIdValidationError) Error() string
- func (e AppInstallIdValidationError) ErrorName() string
- func (e AppInstallIdValidationError) Field() string
- func (e AppInstallIdValidationError) Key() bool
- func (e AppInstallIdValidationError) Reason() string
- type Auth
- func (*Auth) Descriptor() ([]byte, []int)deprecated
- func (x *Auth) GetKeyPair() *Auth_KeyPair
- func (m *Auth) GetKind() isAuth_Kind
- func (*Auth) ProtoMessage()
- func (x *Auth) ProtoReflect() protoreflect.Message
- func (x *Auth) Reset()
- func (x *Auth) String() string
- func (m *Auth) Validate() error
- func (m *Auth) ValidateAll() error
- type AuthMultiError
- type AuthValidationError
- type Auth_KeyPair
- func (*Auth_KeyPair) Descriptor() ([]byte, []int)deprecated
- func (x *Auth_KeyPair) GetPubKey() *PublicKey
- func (x *Auth_KeyPair) GetSignature() *Signature
- func (*Auth_KeyPair) ProtoMessage()
- func (x *Auth_KeyPair) ProtoReflect() protoreflect.Message
- func (x *Auth_KeyPair) Reset()
- func (x *Auth_KeyPair) String() string
- func (m *Auth_KeyPair) Validate() error
- func (m *Auth_KeyPair) ValidateAll() error
- type Auth_KeyPairMultiError
- type Auth_KeyPairValidationError
- func (e Auth_KeyPairValidationError) Cause() error
- func (e Auth_KeyPairValidationError) Error() string
- func (e Auth_KeyPairValidationError) ErrorName() string
- func (e Auth_KeyPairValidationError) Field() string
- func (e Auth_KeyPairValidationError) Key() bool
- func (e Auth_KeyPairValidationError) Reason() string
- type Auth_KeyPair_
- type CountryCode
- func (*CountryCode) Descriptor() ([]byte, []int)deprecated
- func (x *CountryCode) GetValue() string
- func (*CountryCode) ProtoMessage()
- func (x *CountryCode) ProtoReflect() protoreflect.Message
- func (x *CountryCode) Reset()
- func (x *CountryCode) String() string
- func (m *CountryCode) Validate() error
- func (m *CountryCode) ValidateAll() error
- type CountryCodeMultiError
- type CountryCodeValidationError
- func (e CountryCodeValidationError) Cause() error
- func (e CountryCodeValidationError) Error() string
- func (e CountryCodeValidationError) ErrorName() string
- func (e CountryCodeValidationError) Field() string
- func (e CountryCodeValidationError) Key() bool
- func (e CountryCodeValidationError) Reason() string
- type CryptoPaymentAmount
- func (*CryptoPaymentAmount) Descriptor() ([]byte, []int)deprecated
- func (x *CryptoPaymentAmount) GetCurrency() string
- func (x *CryptoPaymentAmount) GetMint() *PublicKey
- func (x *CryptoPaymentAmount) GetNativeAmount() float64
- func (x *CryptoPaymentAmount) GetQuarks() uint64
- func (*CryptoPaymentAmount) ProtoMessage()
- func (x *CryptoPaymentAmount) ProtoReflect() protoreflect.Message
- func (x *CryptoPaymentAmount) Reset()
- func (x *CryptoPaymentAmount) String() string
- func (m *CryptoPaymentAmount) Validate() error
- func (m *CryptoPaymentAmount) ValidateAll() error
- type CryptoPaymentAmountMultiError
- type CryptoPaymentAmountValidationError
- func (e CryptoPaymentAmountValidationError) Cause() error
- func (e CryptoPaymentAmountValidationError) Error() string
- func (e CryptoPaymentAmountValidationError) ErrorName() string
- func (e CryptoPaymentAmountValidationError) Field() string
- func (e CryptoPaymentAmountValidationError) Key() bool
- func (e CryptoPaymentAmountValidationError) Reason() string
- type FiatPaymentAmount
- func (*FiatPaymentAmount) Descriptor() ([]byte, []int)deprecated
- func (x *FiatPaymentAmount) GetCurrency() string
- func (x *FiatPaymentAmount) GetNativeAmount() float64
- func (*FiatPaymentAmount) ProtoMessage()
- func (x *FiatPaymentAmount) ProtoReflect() protoreflect.Message
- func (x *FiatPaymentAmount) Reset()
- func (x *FiatPaymentAmount) String() string
- func (m *FiatPaymentAmount) Validate() error
- func (m *FiatPaymentAmount) ValidateAll() error
- type FiatPaymentAmountMultiError
- type FiatPaymentAmountValidationError
- func (e FiatPaymentAmountValidationError) Cause() error
- func (e FiatPaymentAmountValidationError) Error() string
- func (e FiatPaymentAmountValidationError) ErrorName() string
- func (e FiatPaymentAmountValidationError) Field() string
- func (e FiatPaymentAmountValidationError) Key() bool
- func (e FiatPaymentAmountValidationError) Reason() string
- type PagingToken
- func (*PagingToken) Descriptor() ([]byte, []int)deprecated
- func (x *PagingToken) GetValue() []byte
- func (*PagingToken) ProtoMessage()
- func (x *PagingToken) ProtoReflect() protoreflect.Message
- func (x *PagingToken) Reset()
- func (x *PagingToken) String() string
- func (m *PagingToken) Validate() error
- func (m *PagingToken) ValidateAll() error
- type PagingTokenMultiError
- type PagingTokenValidationError
- func (e PagingTokenValidationError) Cause() error
- func (e PagingTokenValidationError) Error() string
- func (e PagingTokenValidationError) ErrorName() string
- func (e PagingTokenValidationError) Field() string
- func (e PagingTokenValidationError) Key() bool
- func (e PagingTokenValidationError) Reason() string
- type Platform
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKey) GetValue() []byte
- func (*PublicKey) ProtoMessage()
- func (x *PublicKey) ProtoReflect() protoreflect.Message
- func (x *PublicKey) Reset()
- func (x *PublicKey) String() string
- func (m *PublicKey) Validate() error
- func (m *PublicKey) ValidateAll() error
- type PublicKeyMultiError
- type PublicKeyValidationError
- type QueryOptions
- func (*QueryOptions) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOptions) GetOrder() QueryOptions_Order
- func (x *QueryOptions) GetPageSize() int32
- func (x *QueryOptions) GetPagingToken() *PagingToken
- func (*QueryOptions) ProtoMessage()
- func (x *QueryOptions) ProtoReflect() protoreflect.Message
- func (x *QueryOptions) Reset()
- func (x *QueryOptions) String() string
- func (m *QueryOptions) Validate() error
- func (m *QueryOptions) ValidateAll() error
- type QueryOptionsMultiError
- type QueryOptionsValidationError
- func (e QueryOptionsValidationError) Cause() error
- func (e QueryOptionsValidationError) Error() string
- func (e QueryOptionsValidationError) ErrorName() string
- func (e QueryOptionsValidationError) Field() string
- func (e QueryOptionsValidationError) Key() bool
- func (e QueryOptionsValidationError) Reason() string
- type QueryOptions_Order
- func (QueryOptions_Order) Descriptor() protoreflect.EnumDescriptor
- func (x QueryOptions_Order) Enum() *QueryOptions_Order
- func (QueryOptions_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x QueryOptions_Order) Number() protoreflect.EnumNumber
- func (x QueryOptions_Order) String() string
- func (QueryOptions_Order) Type() protoreflect.EnumType
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetBody() []byte
- func (x *Request) GetMethod() string
- func (x *Request) GetService() string
- func (x *Request) GetVersion() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- func (m *Request) Validate() error
- func (m *Request) ValidateAll() error
- type RequestMultiError
- type RequestValidationError
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetBody() []byte
- func (x *Response) GetMessage() string
- func (x *Response) GetResult() Response_Result
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- func (m *Response) Validate() error
- func (m *Response) ValidateAll() error
- type ResponseMultiError
- type ResponseValidationError
- type Response_Result
- func (Response_Result) Descriptor() protoreflect.EnumDescriptor
- func (x Response_Result) Enum() *Response_Result
- func (Response_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x Response_Result) Number() protoreflect.EnumNumber
- func (x Response_Result) String() string
- func (Response_Result) Type() protoreflect.EnumType
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetValue() []byte
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) String() string
- func (m *Signature) Validate() error
- func (m *Signature) ValidateAll() error
- type SignatureMultiError
- type SignatureValidationError
- type UserId
- func (*UserId) Descriptor() ([]byte, []int)deprecated
- func (x *UserId) GetValue() []byte
- func (*UserId) ProtoMessage()
- func (x *UserId) ProtoReflect() protoreflect.Message
- func (x *UserId) Reset()
- func (x *UserId) String() string
- func (m *UserId) Validate() error
- func (m *UserId) ValidateAll() error
- type UserIdMultiError
- type UserIdValidationError
Constants ¶
This section is empty.
Variables ¶
var ( Platform_name = map[int32]string{ 0: "UNKNOWN", 1: "APPLE", 2: "GOOGLE", } Platform_value = map[string]int32{ "UNKNOWN": 0, "APPLE": 1, "GOOGLE": 2, } )
Enum value maps for Platform.
var ( QueryOptions_Order_name = map[int32]string{ 0: "ASC", 1: "DESC", } QueryOptions_Order_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for QueryOptions_Order.
var ( Response_Result_name = map[int32]string{ 0: "OK", 1: "ERROR", } Response_Result_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for Response_Result.
var File_common_v1_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AppInstallId ¶
type AppInstallId struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
AppInstallId is a unque ID tied to a client app installation. It does not identify a device. Value should remain private and not be shared across installs.
func (*AppInstallId) Descriptor
deprecated
func (*AppInstallId) Descriptor() ([]byte, []int)
Deprecated: Use AppInstallId.ProtoReflect.Descriptor instead.
func (*AppInstallId) GetValue ¶
func (x *AppInstallId) GetValue() string
func (*AppInstallId) ProtoMessage ¶
func (*AppInstallId) ProtoMessage()
func (*AppInstallId) ProtoReflect ¶
func (x *AppInstallId) ProtoReflect() protoreflect.Message
func (*AppInstallId) Reset ¶
func (x *AppInstallId) Reset()
func (*AppInstallId) String ¶
func (x *AppInstallId) String() string
func (*AppInstallId) Validate ¶
func (m *AppInstallId) Validate() error
Validate checks the field values on AppInstallId 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 (*AppInstallId) ValidateAll ¶
func (m *AppInstallId) ValidateAll() error
ValidateAll checks the field values on AppInstallId 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 AppInstallIdMultiError, or nil if none found.
type AppInstallIdMultiError ¶
type AppInstallIdMultiError []error
AppInstallIdMultiError is an error wrapping multiple validation errors returned by AppInstallId.ValidateAll() if the designated constraints aren't met.
func (AppInstallIdMultiError) AllErrors ¶
func (m AppInstallIdMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppInstallIdMultiError) Error ¶
func (m AppInstallIdMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppInstallIdValidationError ¶
type AppInstallIdValidationError struct {
// contains filtered or unexported fields
}
AppInstallIdValidationError is the validation error returned by AppInstallId.Validate if the designated constraints aren't met.
func (AppInstallIdValidationError) Cause ¶
func (e AppInstallIdValidationError) Cause() error
Cause function returns cause value.
func (AppInstallIdValidationError) Error ¶
func (e AppInstallIdValidationError) Error() string
Error satisfies the builtin error interface
func (AppInstallIdValidationError) ErrorName ¶
func (e AppInstallIdValidationError) ErrorName() string
ErrorName returns error name.
func (AppInstallIdValidationError) Field ¶
func (e AppInstallIdValidationError) Field() string
Field function returns field value.
func (AppInstallIdValidationError) Key ¶
func (e AppInstallIdValidationError) Key() bool
Key function returns key value.
func (AppInstallIdValidationError) Reason ¶
func (e AppInstallIdValidationError) Reason() string
Reason function returns reason value.
type Auth ¶
type Auth struct {
// Types that are assignable to Kind:
//
// *Auth_KeyPair_
Kind isAuth_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
Auth provides an authentication information for RPCs/messages.
Currently, only a single form is supported, but it may be useful in the future to rely on session tokens instead.
func (*Auth) Descriptor
deprecated
func (*Auth) GetKeyPair ¶
func (x *Auth) GetKeyPair() *Auth_KeyPair
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
func (*Auth) Validate ¶
Validate checks the field values on Auth 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 (*Auth) ValidateAll ¶
ValidateAll checks the field values on Auth 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 AuthMultiError, or nil if none found.
type AuthMultiError ¶
type AuthMultiError []error
AuthMultiError is an error wrapping multiple validation errors returned by Auth.ValidateAll() if the designated constraints aren't met.
func (AuthMultiError) AllErrors ¶
func (m AuthMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthMultiError) Error ¶
func (m AuthMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthValidationError ¶
type AuthValidationError struct {
// contains filtered or unexported fields
}
AuthValidationError is the validation error returned by Auth.Validate if the designated constraints aren't met.
func (AuthValidationError) Cause ¶
func (e AuthValidationError) Cause() error
Cause function returns cause value.
func (AuthValidationError) Error ¶
func (e AuthValidationError) Error() string
Error satisfies the builtin error interface
func (AuthValidationError) ErrorName ¶
func (e AuthValidationError) ErrorName() string
ErrorName returns error name.
func (AuthValidationError) Field ¶
func (e AuthValidationError) Field() string
Field function returns field value.
func (AuthValidationError) Key ¶
func (e AuthValidationError) Key() bool
Key function returns key value.
func (AuthValidationError) Reason ¶
func (e AuthValidationError) Reason() string
Reason function returns reason value.
type Auth_KeyPair ¶
type Auth_KeyPair struct {
PubKey *PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
// contains filtered or unexported fields
}
KeyPair uses a keypair to verify a message.
The signature should be of the encapsulating proto message, _without_ the Auth section being set.
func (*Auth_KeyPair) Descriptor
deprecated
func (*Auth_KeyPair) Descriptor() ([]byte, []int)
Deprecated: Use Auth_KeyPair.ProtoReflect.Descriptor instead.
func (*Auth_KeyPair) GetPubKey ¶
func (x *Auth_KeyPair) GetPubKey() *PublicKey
func (*Auth_KeyPair) GetSignature ¶
func (x *Auth_KeyPair) GetSignature() *Signature
func (*Auth_KeyPair) ProtoMessage ¶
func (*Auth_KeyPair) ProtoMessage()
func (*Auth_KeyPair) ProtoReflect ¶
func (x *Auth_KeyPair) ProtoReflect() protoreflect.Message
func (*Auth_KeyPair) Reset ¶
func (x *Auth_KeyPair) Reset()
func (*Auth_KeyPair) String ¶
func (x *Auth_KeyPair) String() string
func (*Auth_KeyPair) Validate ¶
func (m *Auth_KeyPair) Validate() error
Validate checks the field values on Auth_KeyPair 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 (*Auth_KeyPair) ValidateAll ¶
func (m *Auth_KeyPair) ValidateAll() error
ValidateAll checks the field values on Auth_KeyPair 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 Auth_KeyPairMultiError, or nil if none found.
type Auth_KeyPairMultiError ¶
type Auth_KeyPairMultiError []error
Auth_KeyPairMultiError is an error wrapping multiple validation errors returned by Auth_KeyPair.ValidateAll() if the designated constraints aren't met.
func (Auth_KeyPairMultiError) AllErrors ¶
func (m Auth_KeyPairMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Auth_KeyPairMultiError) Error ¶
func (m Auth_KeyPairMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Auth_KeyPairValidationError ¶
type Auth_KeyPairValidationError struct {
// contains filtered or unexported fields
}
Auth_KeyPairValidationError is the validation error returned by Auth_KeyPair.Validate if the designated constraints aren't met.
func (Auth_KeyPairValidationError) Cause ¶
func (e Auth_KeyPairValidationError) Cause() error
Cause function returns cause value.
func (Auth_KeyPairValidationError) Error ¶
func (e Auth_KeyPairValidationError) Error() string
Error satisfies the builtin error interface
func (Auth_KeyPairValidationError) ErrorName ¶
func (e Auth_KeyPairValidationError) ErrorName() string
ErrorName returns error name.
func (Auth_KeyPairValidationError) Field ¶
func (e Auth_KeyPairValidationError) Field() string
Field function returns field value.
func (Auth_KeyPairValidationError) Key ¶
func (e Auth_KeyPairValidationError) Key() bool
Key function returns key value.
func (Auth_KeyPairValidationError) Reason ¶
func (e Auth_KeyPairValidationError) Reason() string
Reason function returns reason value.
type Auth_KeyPair_ ¶
type Auth_KeyPair_ struct {
// KeyPair uses pub key cryptography to verify.
KeyPair *Auth_KeyPair `protobuf:"bytes,1,opt,name=key_pair,json=keyPair,proto3,oneof"`
}
type CountryCode ¶
type CountryCode struct {
// ISO 3166-1 Alpha-2
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*CountryCode) Descriptor
deprecated
func (*CountryCode) Descriptor() ([]byte, []int)
Deprecated: Use CountryCode.ProtoReflect.Descriptor instead.
func (*CountryCode) GetValue ¶
func (x *CountryCode) GetValue() string
func (*CountryCode) ProtoMessage ¶
func (*CountryCode) ProtoMessage()
func (*CountryCode) ProtoReflect ¶
func (x *CountryCode) ProtoReflect() protoreflect.Message
func (*CountryCode) Reset ¶
func (x *CountryCode) Reset()
func (*CountryCode) String ¶
func (x *CountryCode) String() string
func (*CountryCode) Validate ¶
func (m *CountryCode) Validate() error
Validate checks the field values on CountryCode 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 (*CountryCode) ValidateAll ¶
func (m *CountryCode) ValidateAll() error
ValidateAll checks the field values on CountryCode 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 CountryCodeMultiError, or nil if none found.
type CountryCodeMultiError ¶
type CountryCodeMultiError []error
CountryCodeMultiError is an error wrapping multiple validation errors returned by CountryCode.ValidateAll() if the designated constraints aren't met.
func (CountryCodeMultiError) AllErrors ¶
func (m CountryCodeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CountryCodeMultiError) Error ¶
func (m CountryCodeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CountryCodeValidationError ¶
type CountryCodeValidationError struct {
// contains filtered or unexported fields
}
CountryCodeValidationError is the validation error returned by CountryCode.Validate if the designated constraints aren't met.
func (CountryCodeValidationError) Cause ¶
func (e CountryCodeValidationError) Cause() error
Cause function returns cause value.
func (CountryCodeValidationError) Error ¶
func (e CountryCodeValidationError) Error() string
Error satisfies the builtin error interface
func (CountryCodeValidationError) ErrorName ¶
func (e CountryCodeValidationError) ErrorName() string
ErrorName returns error name.
func (CountryCodeValidationError) Field ¶
func (e CountryCodeValidationError) Field() string
Field function returns field value.
func (CountryCodeValidationError) Key ¶
func (e CountryCodeValidationError) Key() bool
Key function returns key value.
func (CountryCodeValidationError) Reason ¶
func (e CountryCodeValidationError) Reason() string
Reason function returns reason value.
type CryptoPaymentAmount ¶
type CryptoPaymentAmount struct {
// ISO 4217 alpha-3 currency code the payment was made in
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
// The amount in the native currency that was paid
NativeAmount float64 `protobuf:"fixed64,2,opt,name=native_amount,json=nativeAmount,proto3" json:"native_amount,omitempty"`
// The amount in quarks of crypto that was paid
Quarks uint64 `protobuf:"varint,3,opt,name=quarks,proto3" json:"quarks,omitempty"`
// The crypto mint that was paid
Mint *PublicKey `protobuf:"bytes,4,opt,name=mint,proto3" json:"mint,omitempty"`
// contains filtered or unexported fields
}
CryptoPaymentAmount defines an amount of crypto with currency exchange data
func (*CryptoPaymentAmount) Descriptor
deprecated
func (*CryptoPaymentAmount) Descriptor() ([]byte, []int)
Deprecated: Use CryptoPaymentAmount.ProtoReflect.Descriptor instead.
func (*CryptoPaymentAmount) GetCurrency ¶
func (x *CryptoPaymentAmount) GetCurrency() string
func (*CryptoPaymentAmount) GetMint ¶
func (x *CryptoPaymentAmount) GetMint() *PublicKey
func (*CryptoPaymentAmount) GetNativeAmount ¶
func (x *CryptoPaymentAmount) GetNativeAmount() float64
func (*CryptoPaymentAmount) GetQuarks ¶
func (x *CryptoPaymentAmount) GetQuarks() uint64
func (*CryptoPaymentAmount) ProtoMessage ¶
func (*CryptoPaymentAmount) ProtoMessage()
func (*CryptoPaymentAmount) ProtoReflect ¶
func (x *CryptoPaymentAmount) ProtoReflect() protoreflect.Message
func (*CryptoPaymentAmount) Reset ¶
func (x *CryptoPaymentAmount) Reset()
func (*CryptoPaymentAmount) String ¶
func (x *CryptoPaymentAmount) String() string
func (*CryptoPaymentAmount) Validate ¶
func (m *CryptoPaymentAmount) Validate() error
Validate checks the field values on CryptoPaymentAmount 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 (*CryptoPaymentAmount) ValidateAll ¶
func (m *CryptoPaymentAmount) ValidateAll() error
ValidateAll checks the field values on CryptoPaymentAmount 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 CryptoPaymentAmountMultiError, or nil if none found.
type CryptoPaymentAmountMultiError ¶
type CryptoPaymentAmountMultiError []error
CryptoPaymentAmountMultiError is an error wrapping multiple validation errors returned by CryptoPaymentAmount.ValidateAll() if the designated constraints aren't met.
func (CryptoPaymentAmountMultiError) AllErrors ¶
func (m CryptoPaymentAmountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CryptoPaymentAmountMultiError) Error ¶
func (m CryptoPaymentAmountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CryptoPaymentAmountValidationError ¶
type CryptoPaymentAmountValidationError struct {
// contains filtered or unexported fields
}
CryptoPaymentAmountValidationError is the validation error returned by CryptoPaymentAmount.Validate if the designated constraints aren't met.
func (CryptoPaymentAmountValidationError) Cause ¶
func (e CryptoPaymentAmountValidationError) Cause() error
Cause function returns cause value.
func (CryptoPaymentAmountValidationError) Error ¶
func (e CryptoPaymentAmountValidationError) Error() string
Error satisfies the builtin error interface
func (CryptoPaymentAmountValidationError) ErrorName ¶
func (e CryptoPaymentAmountValidationError) ErrorName() string
ErrorName returns error name.
func (CryptoPaymentAmountValidationError) Field ¶
func (e CryptoPaymentAmountValidationError) Field() string
Field function returns field value.
func (CryptoPaymentAmountValidationError) Key ¶
func (e CryptoPaymentAmountValidationError) Key() bool
Key function returns key value.
func (CryptoPaymentAmountValidationError) Reason ¶
func (e CryptoPaymentAmountValidationError) Reason() string
Reason function returns reason value.
type FiatPaymentAmount ¶
type FiatPaymentAmount struct {
// ISO 4217 alpha-3 currency code the payment was made in
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
// The amount in the native currency that was paid
NativeAmount float64 `protobuf:"fixed64,2,opt,name=native_amount,json=nativeAmount,proto3" json:"native_amount,omitempty"`
// contains filtered or unexported fields
}
FiatPaymentAmount defines an amount of fiat
func (*FiatPaymentAmount) Descriptor
deprecated
func (*FiatPaymentAmount) Descriptor() ([]byte, []int)
Deprecated: Use FiatPaymentAmount.ProtoReflect.Descriptor instead.
func (*FiatPaymentAmount) GetCurrency ¶
func (x *FiatPaymentAmount) GetCurrency() string
func (*FiatPaymentAmount) GetNativeAmount ¶
func (x *FiatPaymentAmount) GetNativeAmount() float64
func (*FiatPaymentAmount) ProtoMessage ¶
func (*FiatPaymentAmount) ProtoMessage()
func (*FiatPaymentAmount) ProtoReflect ¶
func (x *FiatPaymentAmount) ProtoReflect() protoreflect.Message
func (*FiatPaymentAmount) Reset ¶
func (x *FiatPaymentAmount) Reset()
func (*FiatPaymentAmount) String ¶
func (x *FiatPaymentAmount) String() string
func (*FiatPaymentAmount) Validate ¶
func (m *FiatPaymentAmount) Validate() error
Validate checks the field values on FiatPaymentAmount 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 (*FiatPaymentAmount) ValidateAll ¶
func (m *FiatPaymentAmount) ValidateAll() error
ValidateAll checks the field values on FiatPaymentAmount 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 FiatPaymentAmountMultiError, or nil if none found.
type FiatPaymentAmountMultiError ¶
type FiatPaymentAmountMultiError []error
FiatPaymentAmountMultiError is an error wrapping multiple validation errors returned by FiatPaymentAmount.ValidateAll() if the designated constraints aren't met.
func (FiatPaymentAmountMultiError) AllErrors ¶
func (m FiatPaymentAmountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FiatPaymentAmountMultiError) Error ¶
func (m FiatPaymentAmountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FiatPaymentAmountValidationError ¶
type FiatPaymentAmountValidationError struct {
// contains filtered or unexported fields
}
FiatPaymentAmountValidationError is the validation error returned by FiatPaymentAmount.Validate if the designated constraints aren't met.
func (FiatPaymentAmountValidationError) Cause ¶
func (e FiatPaymentAmountValidationError) Cause() error
Cause function returns cause value.
func (FiatPaymentAmountValidationError) Error ¶
func (e FiatPaymentAmountValidationError) Error() string
Error satisfies the builtin error interface
func (FiatPaymentAmountValidationError) ErrorName ¶
func (e FiatPaymentAmountValidationError) ErrorName() string
ErrorName returns error name.
func (FiatPaymentAmountValidationError) Field ¶
func (e FiatPaymentAmountValidationError) Field() string
Field function returns field value.
func (FiatPaymentAmountValidationError) Key ¶
func (e FiatPaymentAmountValidationError) Key() bool
Key function returns key value.
func (FiatPaymentAmountValidationError) Reason ¶
func (e FiatPaymentAmountValidationError) Reason() string
Reason function returns reason value.
type PagingToken ¶
type PagingToken struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*PagingToken) Descriptor
deprecated
func (*PagingToken) Descriptor() ([]byte, []int)
Deprecated: Use PagingToken.ProtoReflect.Descriptor instead.
func (*PagingToken) GetValue ¶
func (x *PagingToken) GetValue() []byte
func (*PagingToken) ProtoMessage ¶
func (*PagingToken) ProtoMessage()
func (*PagingToken) ProtoReflect ¶
func (x *PagingToken) ProtoReflect() protoreflect.Message
func (*PagingToken) Reset ¶
func (x *PagingToken) Reset()
func (*PagingToken) String ¶
func (x *PagingToken) String() string
func (*PagingToken) Validate ¶
func (m *PagingToken) Validate() error
Validate checks the field values on PagingToken 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 (*PagingToken) ValidateAll ¶
func (m *PagingToken) ValidateAll() error
ValidateAll checks the field values on PagingToken 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 PagingTokenMultiError, or nil if none found.
type PagingTokenMultiError ¶
type PagingTokenMultiError []error
PagingTokenMultiError is an error wrapping multiple validation errors returned by PagingToken.ValidateAll() if the designated constraints aren't met.
func (PagingTokenMultiError) AllErrors ¶
func (m PagingTokenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PagingTokenMultiError) Error ¶
func (m PagingTokenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PagingTokenValidationError ¶
type PagingTokenValidationError struct {
// contains filtered or unexported fields
}
PagingTokenValidationError is the validation error returned by PagingToken.Validate if the designated constraints aren't met.
func (PagingTokenValidationError) Cause ¶
func (e PagingTokenValidationError) Cause() error
Cause function returns cause value.
func (PagingTokenValidationError) Error ¶
func (e PagingTokenValidationError) Error() string
Error satisfies the builtin error interface
func (PagingTokenValidationError) ErrorName ¶
func (e PagingTokenValidationError) ErrorName() string
ErrorName returns error name.
func (PagingTokenValidationError) Field ¶
func (e PagingTokenValidationError) Field() string
Field function returns field value.
func (PagingTokenValidationError) Key ¶
func (e PagingTokenValidationError) Key() bool
Key function returns key value.
func (PagingTokenValidationError) Reason ¶
func (e PagingTokenValidationError) Reason() string
Reason function returns reason value.
type Platform ¶
type Platform int32
func (Platform) Descriptor ¶
func (Platform) Descriptor() protoreflect.EnumDescriptor
func (Platform) EnumDescriptor
deprecated
func (Platform) Number ¶
func (x Platform) Number() protoreflect.EnumNumber
func (Platform) Type ¶
func (Platform) Type() protoreflect.EnumType
type PublicKey ¶
type PublicKey struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶
func (x *PublicKey) ProtoReflect() protoreflect.Message
func (*PublicKey) Validate ¶
Validate checks the field values on PublicKey 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 (*PublicKey) ValidateAll ¶
ValidateAll checks the field values on PublicKey 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 PublicKeyMultiError, or nil if none found.
type PublicKeyMultiError ¶
type PublicKeyMultiError []error
PublicKeyMultiError is an error wrapping multiple validation errors returned by PublicKey.ValidateAll() if the designated constraints aren't met.
func (PublicKeyMultiError) AllErrors ¶
func (m PublicKeyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PublicKeyMultiError) Error ¶
func (m PublicKeyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PublicKeyValidationError ¶
type PublicKeyValidationError struct {
// contains filtered or unexported fields
}
PublicKeyValidationError is the validation error returned by PublicKey.Validate if the designated constraints aren't met.
func (PublicKeyValidationError) Cause ¶
func (e PublicKeyValidationError) Cause() error
Cause function returns cause value.
func (PublicKeyValidationError) Error ¶
func (e PublicKeyValidationError) Error() string
Error satisfies the builtin error interface
func (PublicKeyValidationError) ErrorName ¶
func (e PublicKeyValidationError) ErrorName() string
ErrorName returns error name.
func (PublicKeyValidationError) Field ¶
func (e PublicKeyValidationError) Field() string
Field function returns field value.
func (PublicKeyValidationError) Key ¶
func (e PublicKeyValidationError) Key() bool
Key function returns key value.
func (PublicKeyValidationError) Reason ¶
func (e PublicKeyValidationError) Reason() string
Reason function returns reason value.
type QueryOptions ¶
type QueryOptions struct {
// PageSize limits the maximum page size of a response.
//
// Server may choose to return less items. If <= 0,
// server may select an arbitrary default page size.
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// PagingToken is a token that can be extracted from the
// identifier of a collection.
PagingToken *PagingToken `protobuf:"bytes,2,opt,name=paging_token,json=pagingToken,proto3" json:"paging_token,omitempty"`
// Order is the order of elements, if applicable.
Order QueryOptions_Order `protobuf:"varint,3,opt,name=order,proto3,enum=flipcash.common.v1.QueryOptions_Order" json:"order,omitempty"`
// contains filtered or unexported fields
}
func (*QueryOptions) Descriptor
deprecated
func (*QueryOptions) Descriptor() ([]byte, []int)
Deprecated: Use QueryOptions.ProtoReflect.Descriptor instead.
func (*QueryOptions) GetOrder ¶
func (x *QueryOptions) GetOrder() QueryOptions_Order
func (*QueryOptions) GetPageSize ¶
func (x *QueryOptions) GetPageSize() int32
func (*QueryOptions) GetPagingToken ¶
func (x *QueryOptions) GetPagingToken() *PagingToken
func (*QueryOptions) ProtoMessage ¶
func (*QueryOptions) ProtoMessage()
func (*QueryOptions) ProtoReflect ¶
func (x *QueryOptions) ProtoReflect() protoreflect.Message
func (*QueryOptions) Reset ¶
func (x *QueryOptions) Reset()
func (*QueryOptions) String ¶
func (x *QueryOptions) String() string
func (*QueryOptions) Validate ¶
func (m *QueryOptions) Validate() error
Validate checks the field values on QueryOptions 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 (*QueryOptions) ValidateAll ¶
func (m *QueryOptions) ValidateAll() error
ValidateAll checks the field values on QueryOptions 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 QueryOptionsMultiError, or nil if none found.
type QueryOptionsMultiError ¶
type QueryOptionsMultiError []error
QueryOptionsMultiError is an error wrapping multiple validation errors returned by QueryOptions.ValidateAll() if the designated constraints aren't met.
func (QueryOptionsMultiError) AllErrors ¶
func (m QueryOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryOptionsMultiError) Error ¶
func (m QueryOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryOptionsValidationError ¶
type QueryOptionsValidationError struct {
// contains filtered or unexported fields
}
QueryOptionsValidationError is the validation error returned by QueryOptions.Validate if the designated constraints aren't met.
func (QueryOptionsValidationError) Cause ¶
func (e QueryOptionsValidationError) Cause() error
Cause function returns cause value.
func (QueryOptionsValidationError) Error ¶
func (e QueryOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (QueryOptionsValidationError) ErrorName ¶
func (e QueryOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (QueryOptionsValidationError) Field ¶
func (e QueryOptionsValidationError) Field() string
Field function returns field value.
func (QueryOptionsValidationError) Key ¶
func (e QueryOptionsValidationError) Key() bool
Key function returns key value.
func (QueryOptionsValidationError) Reason ¶
func (e QueryOptionsValidationError) Reason() string
Reason function returns reason value.
type QueryOptions_Order ¶
type QueryOptions_Order int32
const ( QueryOptions_ASC QueryOptions_Order = 0 QueryOptions_DESC QueryOptions_Order = 1 )
func (QueryOptions_Order) Descriptor ¶
func (QueryOptions_Order) Descriptor() protoreflect.EnumDescriptor
func (QueryOptions_Order) Enum ¶
func (x QueryOptions_Order) Enum() *QueryOptions_Order
func (QueryOptions_Order) EnumDescriptor
deprecated
func (QueryOptions_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use QueryOptions_Order.Descriptor instead.
func (QueryOptions_Order) Number ¶
func (x QueryOptions_Order) Number() protoreflect.EnumNumber
func (QueryOptions_Order) String ¶
func (x QueryOptions_Order) String() string
func (QueryOptions_Order) Type ¶
func (QueryOptions_Order) Type() protoreflect.EnumType
type Request ¶
type Request struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
Request is a generic wrapper for gRPC requests
func (*Request) Descriptor
deprecated
func (*Request) GetService ¶
func (*Request) GetVersion ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
func (*Request) Validate ¶
Validate checks the field values on Request 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 (*Request) ValidateAll ¶
ValidateAll checks the field values on Request 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 RequestMultiError, or nil if none found.
type RequestMultiError ¶
type RequestMultiError []error
RequestMultiError is an error wrapping multiple validation errors returned by Request.ValidateAll() if the designated constraints aren't met.
func (RequestMultiError) AllErrors ¶
func (m RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestMultiError) Error ¶
func (m RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestValidationError ¶
type RequestValidationError struct {
// contains filtered or unexported fields
}
RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.
func (RequestValidationError) Cause ¶
func (e RequestValidationError) Cause() error
Cause function returns cause value.
func (RequestValidationError) Error ¶
func (e RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RequestValidationError) ErrorName ¶
func (e RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RequestValidationError) Field ¶
func (e RequestValidationError) Field() string
Field function returns field value.
func (RequestValidationError) Key ¶
func (e RequestValidationError) Key() bool
Key function returns key value.
func (RequestValidationError) Reason ¶
func (e RequestValidationError) Reason() string
Reason function returns reason value.
type Response ¶
type Response struct {
Result Response_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipcash.common.v1.Response_Result" json:"result,omitempty"`
Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
Response is a generic wrapper for gRPC responses
func (*Response) Descriptor
deprecated
func (*Response) GetMessage ¶
func (*Response) GetResult ¶
func (x *Response) GetResult() Response_Result
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
func (*Response) Validate ¶
Validate checks the field values on Response 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 (*Response) ValidateAll ¶
ValidateAll checks the field values on Response 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 ResponseMultiError, or nil if none found.
type ResponseMultiError ¶
type ResponseMultiError []error
ResponseMultiError is an error wrapping multiple validation errors returned by Response.ValidateAll() if the designated constraints aren't met.
func (ResponseMultiError) AllErrors ¶
func (m ResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResponseMultiError) Error ¶
func (m ResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResponseValidationError ¶
type ResponseValidationError struct {
// contains filtered or unexported fields
}
ResponseValidationError is the validation error returned by Response.Validate if the designated constraints aren't met.
func (ResponseValidationError) Cause ¶
func (e ResponseValidationError) Cause() error
Cause function returns cause value.
func (ResponseValidationError) Error ¶
func (e ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseValidationError) ErrorName ¶
func (e ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseValidationError) Field ¶
func (e ResponseValidationError) Field() string
Field function returns field value.
func (ResponseValidationError) Key ¶
func (e ResponseValidationError) Key() bool
Key function returns key value.
func (ResponseValidationError) Reason ¶
func (e ResponseValidationError) Reason() string
Reason function returns reason value.
type Response_Result ¶
type Response_Result int32
const ( Response_OK Response_Result = 0 Response_ERROR Response_Result = 1 )
func (Response_Result) Descriptor ¶
func (Response_Result) Descriptor() protoreflect.EnumDescriptor
func (Response_Result) Enum ¶
func (x Response_Result) Enum() *Response_Result
func (Response_Result) EnumDescriptor
deprecated
func (Response_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use Response_Result.Descriptor instead.
func (Response_Result) Number ¶
func (x Response_Result) Number() protoreflect.EnumNumber
func (Response_Result) String ¶
func (x Response_Result) String() string
func (Response_Result) Type ¶
func (Response_Result) Type() protoreflect.EnumType
type Signature ¶
type Signature struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Signature) Descriptor
deprecated
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
func (*Signature) Validate ¶
Validate checks the field values on Signature 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 (*Signature) ValidateAll ¶
ValidateAll checks the field values on Signature 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 SignatureMultiError, or nil if none found.
type SignatureMultiError ¶
type SignatureMultiError []error
SignatureMultiError is an error wrapping multiple validation errors returned by Signature.ValidateAll() if the designated constraints aren't met.
func (SignatureMultiError) AllErrors ¶
func (m SignatureMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SignatureMultiError) Error ¶
func (m SignatureMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SignatureValidationError ¶
type SignatureValidationError struct {
// contains filtered or unexported fields
}
SignatureValidationError is the validation error returned by Signature.Validate if the designated constraints aren't met.
func (SignatureValidationError) Cause ¶
func (e SignatureValidationError) Cause() error
Cause function returns cause value.
func (SignatureValidationError) Error ¶
func (e SignatureValidationError) Error() string
Error satisfies the builtin error interface
func (SignatureValidationError) ErrorName ¶
func (e SignatureValidationError) ErrorName() string
ErrorName returns error name.
func (SignatureValidationError) Field ¶
func (e SignatureValidationError) Field() string
Field function returns field value.
func (SignatureValidationError) Key ¶
func (e SignatureValidationError) Key() bool
Key function returns key value.
func (SignatureValidationError) Reason ¶
func (e SignatureValidationError) Reason() string
Reason function returns reason value.
type UserId ¶
type UserId struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*UserId) Descriptor
deprecated
func (*UserId) ProtoMessage ¶
func (*UserId) ProtoMessage()
func (*UserId) ProtoReflect ¶
func (x *UserId) ProtoReflect() protoreflect.Message
func (*UserId) Validate ¶
Validate checks the field values on UserId 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 (*UserId) ValidateAll ¶
ValidateAll checks the field values on UserId 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 UserIdMultiError, or nil if none found.
type UserIdMultiError ¶
type UserIdMultiError []error
UserIdMultiError is an error wrapping multiple validation errors returned by UserId.ValidateAll() if the designated constraints aren't met.
func (UserIdMultiError) AllErrors ¶
func (m UserIdMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserIdMultiError) Error ¶
func (m UserIdMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserIdValidationError ¶
type UserIdValidationError struct {
// contains filtered or unexported fields
}
UserIdValidationError is the validation error returned by UserId.Validate if the designated constraints aren't met.
func (UserIdValidationError) Cause ¶
func (e UserIdValidationError) Cause() error
Cause function returns cause value.
func (UserIdValidationError) Error ¶
func (e UserIdValidationError) Error() string
Error satisfies the builtin error interface
func (UserIdValidationError) ErrorName ¶
func (e UserIdValidationError) ErrorName() string
ErrorName returns error name.
func (UserIdValidationError) Field ¶
func (e UserIdValidationError) Field() string
Field function returns field value.
func (UserIdValidationError) Key ¶
func (e UserIdValidationError) Key() bool
Key function returns key value.
func (UserIdValidationError) Reason ¶
func (e UserIdValidationError) Reason() string
Reason function returns reason value.