balancev1

package
v0.0.0-...-5122af3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

Cause function returns cause value.

func (CashOutRequestValidationError) Error

Error satisfies the builtin error interface

func (CashOutRequestValidationError) ErrorName

func (e CashOutRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CashOutRequestValidationError) Field

Field function returns field value.

func (CashOutRequestValidationError) Key

Key function returns key value.

func (CashOutRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CashOutResponseValidationError) Error

Error satisfies the builtin error interface

func (CashOutResponseValidationError) ErrorName

func (e CashOutResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CashOutResponseValidationError) Field

Field function returns field value.

func (CashOutResponseValidationError) Key

Key function returns key value.

func (CashOutResponseValidationError) Reason

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

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

Cause function returns cause value.

func (CreateBalanceRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateBalanceRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateBalanceRequestValidationError) Field

Field function returns field value.

func (CreateBalanceRequestValidationError) Key

Key function returns key value.

func (CreateBalanceRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateBalanceResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateBalanceResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateBalanceResponseValidationError) Field

Field function returns field value.

func (CreateBalanceResponseValidationError) Key

Key function returns key value.

func (CreateBalanceResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetBalanceRequestValidationError) Error

Error satisfies the builtin error interface

func (GetBalanceRequestValidationError) ErrorName

ErrorName returns error name.

func (GetBalanceRequestValidationError) Field

Field function returns field value.

func (GetBalanceRequestValidationError) Key

Key function returns key value.

func (GetBalanceRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetBalanceResponseValidationError) Error

Error satisfies the builtin error interface

func (GetBalanceResponseValidationError) ErrorName

ErrorName returns error name.

func (GetBalanceResponseValidationError) Field

Field function returns field value.

func (GetBalanceResponseValidationError) Key

Key function returns key value.

func (GetBalanceResponseValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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