Documentation ¶
Index ¶
- Variables
- type CashOutRequest
- func (*CashOutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CashOutRequest) GetCash() int64
- func (*CashOutRequest) ProtoMessage()
- func (x *CashOutRequest) ProtoReflect() protoreflect.Message
- func (x *CashOutRequest) Reset()
- func (x *CashOutRequest) String() string
- func (m *CashOutRequest) Validate() error
- func (m *CashOutRequest) ValidateAll() error
- type CashOutRequestMultiError
- type CashOutRequestValidationError
- func (e CashOutRequestValidationError) Cause() error
- func (e CashOutRequestValidationError) Error() string
- func (e CashOutRequestValidationError) ErrorName() string
- func (e CashOutRequestValidationError) Field() string
- func (e CashOutRequestValidationError) Key() bool
- func (e CashOutRequestValidationError) Reason() string
- type CashOutResponse
- func (*CashOutResponse) Descriptor() ([]byte, []int)deprecated
- func (*CashOutResponse) ProtoMessage()
- func (x *CashOutResponse) ProtoReflect() protoreflect.Message
- func (x *CashOutResponse) Reset()
- func (x *CashOutResponse) String() string
- func (m *CashOutResponse) Validate() error
- func (m *CashOutResponse) ValidateAll() error
- type CashOutResponseMultiError
- type CashOutResponseValidationError
- func (e CashOutResponseValidationError) Cause() error
- func (e CashOutResponseValidationError) Error() string
- func (e CashOutResponseValidationError) ErrorName() string
- func (e CashOutResponseValidationError) Field() string
- func (e CashOutResponseValidationError) Key() bool
- func (e CashOutResponseValidationError) Reason() string
- type CreateBalanceRequest
- func (*CreateBalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBalanceRequest) GetUserId() int32
- func (*CreateBalanceRequest) ProtoMessage()
- func (x *CreateBalanceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBalanceRequest) Reset()
- func (x *CreateBalanceRequest) String() string
- func (m *CreateBalanceRequest) Validate() error
- func (m *CreateBalanceRequest) ValidateAll() error
- type CreateBalanceRequestMultiError
- type CreateBalanceRequestValidationError
- func (e CreateBalanceRequestValidationError) Cause() error
- func (e CreateBalanceRequestValidationError) Error() string
- func (e CreateBalanceRequestValidationError) ErrorName() string
- func (e CreateBalanceRequestValidationError) Field() string
- func (e CreateBalanceRequestValidationError) Key() bool
- func (e CreateBalanceRequestValidationError) Reason() string
- type CreateBalanceResponse
- func (*CreateBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBalanceResponse) GetCash() int64
- func (*CreateBalanceResponse) ProtoMessage()
- func (x *CreateBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBalanceResponse) Reset()
- func (x *CreateBalanceResponse) String() string
- func (m *CreateBalanceResponse) Validate() error
- func (m *CreateBalanceResponse) ValidateAll() error
- type CreateBalanceResponseMultiError
- type CreateBalanceResponseValidationError
- func (e CreateBalanceResponseValidationError) Cause() error
- func (e CreateBalanceResponseValidationError) Error() string
- func (e CreateBalanceResponseValidationError) ErrorName() string
- func (e CreateBalanceResponseValidationError) Field() string
- func (e CreateBalanceResponseValidationError) Key() bool
- func (e CreateBalanceResponseValidationError) Reason() string
- type GetBalanceRequest
- func (*GetBalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetBalanceRequest) ProtoMessage()
- func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message
- func (x *GetBalanceRequest) Reset()
- func (x *GetBalanceRequest) String() string
- func (m *GetBalanceRequest) Validate() error
- func (m *GetBalanceRequest) ValidateAll() error
- type GetBalanceRequestMultiError
- type GetBalanceRequestValidationError
- func (e GetBalanceRequestValidationError) Cause() error
- func (e GetBalanceRequestValidationError) Error() string
- func (e GetBalanceRequestValidationError) ErrorName() string
- func (e GetBalanceRequestValidationError) Field() string
- func (e GetBalanceRequestValidationError) Key() bool
- func (e GetBalanceRequestValidationError) Reason() string
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceResponse) GetCash() int64
- func (*GetBalanceResponse) ProtoMessage()
- func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetBalanceResponse) Reset()
- func (x *GetBalanceResponse) String() string
- func (m *GetBalanceResponse) Validate() error
- func (m *GetBalanceResponse) ValidateAll() error
- type GetBalanceResponseMultiError
- type GetBalanceResponseValidationError
- func (e GetBalanceResponseValidationError) Cause() error
- func (e GetBalanceResponseValidationError) Error() string
- func (e GetBalanceResponseValidationError) ErrorName() string
- func (e GetBalanceResponseValidationError) Field() string
- func (e GetBalanceResponseValidationError) Key() bool
- func (e GetBalanceResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_balance_v1_balance_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CashOutRequest ¶
type CashOutRequest struct { Cash int64 `protobuf:"varint,1,opt,name=cash,proto3" json:"cash,omitempty"` // contains filtered or unexported fields }
func (*CashOutRequest) Descriptor
deprecated
func (*CashOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use CashOutRequest.ProtoReflect.Descriptor instead.
func (*CashOutRequest) GetCash ¶
func (x *CashOutRequest) GetCash() int64
func (*CashOutRequest) ProtoMessage ¶
func (*CashOutRequest) ProtoMessage()
func (*CashOutRequest) ProtoReflect ¶
func (x *CashOutRequest) ProtoReflect() protoreflect.Message
func (*CashOutRequest) Reset ¶
func (x *CashOutRequest) Reset()
func (*CashOutRequest) String ¶
func (x *CashOutRequest) String() string
func (*CashOutRequest) Validate ¶
func (m *CashOutRequest) Validate() error
Validate checks the field values on CashOutRequest 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 (*CashOutRequest) ValidateAll ¶
func (m *CashOutRequest) ValidateAll() error
ValidateAll checks the field values on CashOutRequest 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 CashOutRequestMultiError, or nil if none found.
type CashOutRequestMultiError ¶
type CashOutRequestMultiError []error
CashOutRequestMultiError is an error wrapping multiple validation errors returned by CashOutRequest.ValidateAll() if the designated constraints aren't met.
func (CashOutRequestMultiError) AllErrors ¶
func (m CashOutRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CashOutRequestMultiError) Error ¶
func (m CashOutRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CashOutRequestValidationError ¶
type CashOutRequestValidationError struct {
// contains filtered or unexported fields
}
CashOutRequestValidationError is the validation error returned by CashOutRequest.Validate if the designated constraints aren't met.
func (CashOutRequestValidationError) Cause ¶
func (e CashOutRequestValidationError) Cause() error
Cause function returns cause value.
func (CashOutRequestValidationError) Error ¶
func (e CashOutRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CashOutRequestValidationError) ErrorName ¶
func (e CashOutRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CashOutRequestValidationError) Field ¶
func (e CashOutRequestValidationError) Field() string
Field function returns field value.
func (CashOutRequestValidationError) Key ¶
func (e CashOutRequestValidationError) Key() bool
Key function returns key value.
func (CashOutRequestValidationError) Reason ¶
func (e CashOutRequestValidationError) Reason() string
Reason function returns reason value.
type CashOutResponse ¶
type CashOutResponse struct {
// contains filtered or unexported fields
}
func (*CashOutResponse) Descriptor
deprecated
func (*CashOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use CashOutResponse.ProtoReflect.Descriptor instead.
func (*CashOutResponse) ProtoMessage ¶
func (*CashOutResponse) ProtoMessage()
func (*CashOutResponse) ProtoReflect ¶
func (x *CashOutResponse) ProtoReflect() protoreflect.Message
func (*CashOutResponse) Reset ¶
func (x *CashOutResponse) Reset()
func (*CashOutResponse) String ¶
func (x *CashOutResponse) String() string
func (*CashOutResponse) Validate ¶
func (m *CashOutResponse) Validate() error
Validate checks the field values on CashOutResponse 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 (*CashOutResponse) ValidateAll ¶
func (m *CashOutResponse) ValidateAll() error
ValidateAll checks the field values on CashOutResponse 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 CashOutResponseMultiError, or nil if none found.
type CashOutResponseMultiError ¶
type CashOutResponseMultiError []error
CashOutResponseMultiError is an error wrapping multiple validation errors returned by CashOutResponse.ValidateAll() if the designated constraints aren't met.
func (CashOutResponseMultiError) AllErrors ¶
func (m CashOutResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CashOutResponseMultiError) Error ¶
func (m CashOutResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CashOutResponseValidationError ¶
type CashOutResponseValidationError struct {
// contains filtered or unexported fields
}
CashOutResponseValidationError is the validation error returned by CashOutResponse.Validate if the designated constraints aren't met.
func (CashOutResponseValidationError) Cause ¶
func (e CashOutResponseValidationError) Cause() error
Cause function returns cause value.
func (CashOutResponseValidationError) Error ¶
func (e CashOutResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CashOutResponseValidationError) ErrorName ¶
func (e CashOutResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CashOutResponseValidationError) Field ¶
func (e CashOutResponseValidationError) Field() string
Field function returns field value.
func (CashOutResponseValidationError) Key ¶
func (e CashOutResponseValidationError) Key() bool
Key function returns key value.
func (CashOutResponseValidationError) Reason ¶
func (e CashOutResponseValidationError) Reason() string
Reason function returns reason value.
type CreateBalanceRequest ¶
type CreateBalanceRequest struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*CreateBalanceRequest) Descriptor
deprecated
func (*CreateBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBalanceRequest.ProtoReflect.Descriptor instead.
func (*CreateBalanceRequest) GetUserId ¶
func (x *CreateBalanceRequest) GetUserId() int32
func (*CreateBalanceRequest) ProtoMessage ¶
func (*CreateBalanceRequest) ProtoMessage()
func (*CreateBalanceRequest) ProtoReflect ¶
func (x *CreateBalanceRequest) ProtoReflect() protoreflect.Message
func (*CreateBalanceRequest) Reset ¶
func (x *CreateBalanceRequest) Reset()
func (*CreateBalanceRequest) String ¶
func (x *CreateBalanceRequest) String() string
func (*CreateBalanceRequest) Validate ¶
func (m *CreateBalanceRequest) Validate() error
Validate checks the field values on CreateBalanceRequest 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 (*CreateBalanceRequest) ValidateAll ¶
func (m *CreateBalanceRequest) ValidateAll() error
ValidateAll checks the field values on CreateBalanceRequest 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 CreateBalanceRequestMultiError, or nil if none found.
type CreateBalanceRequestMultiError ¶
type CreateBalanceRequestMultiError []error
CreateBalanceRequestMultiError is an error wrapping multiple validation errors returned by CreateBalanceRequest.ValidateAll() if the designated constraints aren't met.
func (CreateBalanceRequestMultiError) AllErrors ¶
func (m CreateBalanceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateBalanceRequestMultiError) Error ¶
func (m CreateBalanceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateBalanceRequestValidationError ¶
type CreateBalanceRequestValidationError struct {
// contains filtered or unexported fields
}
CreateBalanceRequestValidationError is the validation error returned by CreateBalanceRequest.Validate if the designated constraints aren't met.
func (CreateBalanceRequestValidationError) Cause ¶
func (e CreateBalanceRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateBalanceRequestValidationError) Error ¶
func (e CreateBalanceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateBalanceRequestValidationError) ErrorName ¶
func (e CreateBalanceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateBalanceRequestValidationError) Field ¶
func (e CreateBalanceRequestValidationError) Field() string
Field function returns field value.
func (CreateBalanceRequestValidationError) Key ¶
func (e CreateBalanceRequestValidationError) Key() bool
Key function returns key value.
func (CreateBalanceRequestValidationError) Reason ¶
func (e CreateBalanceRequestValidationError) Reason() string
Reason function returns reason value.
type CreateBalanceResponse ¶
type CreateBalanceResponse struct { Cash int64 `protobuf:"varint,1,opt,name=cash,proto3" json:"cash,omitempty"` // contains filtered or unexported fields }
func (*CreateBalanceResponse) Descriptor
deprecated
func (*CreateBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBalanceResponse.ProtoReflect.Descriptor instead.
func (*CreateBalanceResponse) GetCash ¶
func (x *CreateBalanceResponse) GetCash() int64
func (*CreateBalanceResponse) ProtoMessage ¶
func (*CreateBalanceResponse) ProtoMessage()
func (*CreateBalanceResponse) ProtoReflect ¶
func (x *CreateBalanceResponse) ProtoReflect() protoreflect.Message
func (*CreateBalanceResponse) Reset ¶
func (x *CreateBalanceResponse) Reset()
func (*CreateBalanceResponse) String ¶
func (x *CreateBalanceResponse) String() string
func (*CreateBalanceResponse) Validate ¶
func (m *CreateBalanceResponse) Validate() error
Validate checks the field values on CreateBalanceResponse 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 (*CreateBalanceResponse) ValidateAll ¶
func (m *CreateBalanceResponse) ValidateAll() error
ValidateAll checks the field values on CreateBalanceResponse 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 CreateBalanceResponseMultiError, or nil if none found.
type CreateBalanceResponseMultiError ¶
type CreateBalanceResponseMultiError []error
CreateBalanceResponseMultiError is an error wrapping multiple validation errors returned by CreateBalanceResponse.ValidateAll() if the designated constraints aren't met.
func (CreateBalanceResponseMultiError) AllErrors ¶
func (m CreateBalanceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateBalanceResponseMultiError) Error ¶
func (m CreateBalanceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateBalanceResponseValidationError ¶
type CreateBalanceResponseValidationError struct {
// contains filtered or unexported fields
}
CreateBalanceResponseValidationError is the validation error returned by CreateBalanceResponse.Validate if the designated constraints aren't met.
func (CreateBalanceResponseValidationError) Cause ¶
func (e CreateBalanceResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateBalanceResponseValidationError) Error ¶
func (e CreateBalanceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateBalanceResponseValidationError) ErrorName ¶
func (e CreateBalanceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateBalanceResponseValidationError) Field ¶
func (e CreateBalanceResponseValidationError) Field() string
Field function returns field value.
func (CreateBalanceResponseValidationError) Key ¶
func (e CreateBalanceResponseValidationError) Key() bool
Key function returns key value.
func (CreateBalanceResponseValidationError) Reason ¶
func (e CreateBalanceResponseValidationError) Reason() string
Reason function returns reason value.
type GetBalanceRequest ¶
type GetBalanceRequest struct {
// contains filtered or unexported fields
}
func (*GetBalanceRequest) Descriptor
deprecated
func (*GetBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.
func (*GetBalanceRequest) ProtoMessage ¶
func (*GetBalanceRequest) ProtoMessage()
func (*GetBalanceRequest) ProtoReflect ¶
func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message
func (*GetBalanceRequest) Reset ¶
func (x *GetBalanceRequest) Reset()
func (*GetBalanceRequest) String ¶
func (x *GetBalanceRequest) String() string
func (*GetBalanceRequest) Validate ¶
func (m *GetBalanceRequest) Validate() error
Validate checks the field values on GetBalanceRequest 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 (*GetBalanceRequest) ValidateAll ¶
func (m *GetBalanceRequest) ValidateAll() error
ValidateAll checks the field values on GetBalanceRequest 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 GetBalanceRequestMultiError, or nil if none found.
type GetBalanceRequestMultiError ¶
type GetBalanceRequestMultiError []error
GetBalanceRequestMultiError is an error wrapping multiple validation errors returned by GetBalanceRequest.ValidateAll() if the designated constraints aren't met.
func (GetBalanceRequestMultiError) AllErrors ¶
func (m GetBalanceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBalanceRequestMultiError) Error ¶
func (m GetBalanceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBalanceRequestValidationError ¶
type GetBalanceRequestValidationError struct {
// contains filtered or unexported fields
}
GetBalanceRequestValidationError is the validation error returned by GetBalanceRequest.Validate if the designated constraints aren't met.
func (GetBalanceRequestValidationError) Cause ¶
func (e GetBalanceRequestValidationError) Cause() error
Cause function returns cause value.
func (GetBalanceRequestValidationError) Error ¶
func (e GetBalanceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetBalanceRequestValidationError) ErrorName ¶
func (e GetBalanceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetBalanceRequestValidationError) Field ¶
func (e GetBalanceRequestValidationError) Field() string
Field function returns field value.
func (GetBalanceRequestValidationError) Key ¶
func (e GetBalanceRequestValidationError) Key() bool
Key function returns key value.
func (GetBalanceRequestValidationError) Reason ¶
func (e GetBalanceRequestValidationError) Reason() string
Reason function returns reason value.
type GetBalanceResponse ¶
type GetBalanceResponse struct { Cash int64 `protobuf:"varint,1,opt,name=cash,proto3" json:"cash,omitempty"` // contains filtered or unexported fields }
func (*GetBalanceResponse) Descriptor
deprecated
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.
func (*GetBalanceResponse) GetCash ¶
func (x *GetBalanceResponse) GetCash() int64
func (*GetBalanceResponse) ProtoMessage ¶
func (*GetBalanceResponse) ProtoMessage()
func (*GetBalanceResponse) ProtoReflect ¶
func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
func (*GetBalanceResponse) Reset ¶
func (x *GetBalanceResponse) Reset()
func (*GetBalanceResponse) String ¶
func (x *GetBalanceResponse) String() string
func (*GetBalanceResponse) Validate ¶
func (m *GetBalanceResponse) Validate() error
Validate checks the field values on GetBalanceResponse 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 (*GetBalanceResponse) ValidateAll ¶
func (m *GetBalanceResponse) ValidateAll() error
ValidateAll checks the field values on GetBalanceResponse 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 GetBalanceResponseMultiError, or nil if none found.
type GetBalanceResponseMultiError ¶
type GetBalanceResponseMultiError []error
GetBalanceResponseMultiError is an error wrapping multiple validation errors returned by GetBalanceResponse.ValidateAll() if the designated constraints aren't met.
func (GetBalanceResponseMultiError) AllErrors ¶
func (m GetBalanceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBalanceResponseMultiError) Error ¶
func (m GetBalanceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBalanceResponseValidationError ¶
type GetBalanceResponseValidationError struct {
// contains filtered or unexported fields
}
GetBalanceResponseValidationError is the validation error returned by GetBalanceResponse.Validate if the designated constraints aren't met.
func (GetBalanceResponseValidationError) Cause ¶
func (e GetBalanceResponseValidationError) Cause() error
Cause function returns cause value.
func (GetBalanceResponseValidationError) Error ¶
func (e GetBalanceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetBalanceResponseValidationError) ErrorName ¶
func (e GetBalanceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetBalanceResponseValidationError) Field ¶
func (e GetBalanceResponseValidationError) Field() string
Field function returns field value.
func (GetBalanceResponseValidationError) Key ¶
func (e GetBalanceResponseValidationError) Key() bool
Key function returns key value.
func (GetBalanceResponseValidationError) Reason ¶
func (e GetBalanceResponseValidationError) Reason() string
Reason function returns reason value.