Versions in this module Expand all Collapse all v1 v1.1.0 Jul 23, 2026 Changes in this version + const OperationWithdrawalServiceApproveWithdrawal + const OperationWithdrawalServiceGetWithdrawalList + const OperationWithdrawalServiceRejectWithdrawal + const WithdrawalService_ApproveWithdrawal_FullMethodName + const WithdrawalService_GetWithdrawalList_FullMethodName + const WithdrawalService_RejectWithdrawal_FullMethodName + var File_admin_withdrawal_v1_withdrawal_proto protoreflect.FileDescriptor + var WithdrawalService_ServiceDesc = grpc.ServiceDesc + func RegisterWithdrawalServiceHTTPServer(s *http.Server, srv WithdrawalServiceHTTPServer) + func RegisterWithdrawalServiceServer(s grpc.ServiceRegistrar, srv WithdrawalServiceServer) + type ApproveWithdrawalReply struct + Code int32 + Data *OperationData + Message string + func (*ApproveWithdrawalReply) Descriptor() ([]byte, []int) + func (*ApproveWithdrawalReply) ProtoMessage() + func (m *ApproveWithdrawalReply) Validate() error + func (m *ApproveWithdrawalReply) ValidateAll() error + func (x *ApproveWithdrawalReply) GetCode() int32 + func (x *ApproveWithdrawalReply) GetData() *OperationData + func (x *ApproveWithdrawalReply) GetMessage() string + func (x *ApproveWithdrawalReply) ProtoReflect() protoreflect.Message + func (x *ApproveWithdrawalReply) Reset() + func (x *ApproveWithdrawalReply) String() string + type ApproveWithdrawalReplyMultiError []error + func (m ApproveWithdrawalReplyMultiError) AllErrors() []error + func (m ApproveWithdrawalReplyMultiError) Error() string + type ApproveWithdrawalReplyValidationError struct + func (e ApproveWithdrawalReplyValidationError) Cause() error + func (e ApproveWithdrawalReplyValidationError) Error() string + func (e ApproveWithdrawalReplyValidationError) ErrorName() string + func (e ApproveWithdrawalReplyValidationError) Field() string + func (e ApproveWithdrawalReplyValidationError) Key() bool + func (e ApproveWithdrawalReplyValidationError) Reason() string + type ApproveWithdrawalRequest struct + Id int64 + func (*ApproveWithdrawalRequest) Descriptor() ([]byte, []int) + func (*ApproveWithdrawalRequest) ProtoMessage() + func (m *ApproveWithdrawalRequest) Validate() error + func (m *ApproveWithdrawalRequest) ValidateAll() error + func (x *ApproveWithdrawalRequest) GetId() int64 + func (x *ApproveWithdrawalRequest) ProtoReflect() protoreflect.Message + func (x *ApproveWithdrawalRequest) Reset() + func (x *ApproveWithdrawalRequest) String() string + type ApproveWithdrawalRequestMultiError []error + func (m ApproveWithdrawalRequestMultiError) AllErrors() []error + func (m ApproveWithdrawalRequestMultiError) Error() string + type ApproveWithdrawalRequestValidationError struct + func (e ApproveWithdrawalRequestValidationError) Cause() error + func (e ApproveWithdrawalRequestValidationError) Error() string + func (e ApproveWithdrawalRequestValidationError) ErrorName() string + func (e ApproveWithdrawalRequestValidationError) Field() string + func (e ApproveWithdrawalRequestValidationError) Key() bool + func (e ApproveWithdrawalRequestValidationError) Reason() string + type GetWithdrawalListReply struct + Code int32 + Data *WithdrawalListData + Message string + func (*GetWithdrawalListReply) Descriptor() ([]byte, []int) + func (*GetWithdrawalListReply) ProtoMessage() + func (m *GetWithdrawalListReply) Validate() error + func (m *GetWithdrawalListReply) ValidateAll() error + func (x *GetWithdrawalListReply) GetCode() int32 + func (x *GetWithdrawalListReply) GetData() *WithdrawalListData + func (x *GetWithdrawalListReply) GetMessage() string + func (x *GetWithdrawalListReply) ProtoReflect() protoreflect.Message + func (x *GetWithdrawalListReply) Reset() + func (x *GetWithdrawalListReply) String() string + type GetWithdrawalListReplyMultiError []error + func (m GetWithdrawalListReplyMultiError) AllErrors() []error + func (m GetWithdrawalListReplyMultiError) Error() string + type GetWithdrawalListReplyValidationError struct + func (e GetWithdrawalListReplyValidationError) Cause() error + func (e GetWithdrawalListReplyValidationError) Error() string + func (e GetWithdrawalListReplyValidationError) ErrorName() string + func (e GetWithdrawalListReplyValidationError) Field() string + func (e GetWithdrawalListReplyValidationError) Key() bool + func (e GetWithdrawalListReplyValidationError) Reason() string + type GetWithdrawalListRequest struct + Method string + Page int64 + Size int64 + Status *int32 + UserId *int64 + func (*GetWithdrawalListRequest) Descriptor() ([]byte, []int) + func (*GetWithdrawalListRequest) ProtoMessage() + func (m *GetWithdrawalListRequest) Validate() error + func (m *GetWithdrawalListRequest) ValidateAll() error + func (x *GetWithdrawalListRequest) GetMethod() string + func (x *GetWithdrawalListRequest) GetPage() int64 + func (x *GetWithdrawalListRequest) GetSize() int64 + func (x *GetWithdrawalListRequest) GetStatus() int32 + func (x *GetWithdrawalListRequest) GetUserId() int64 + func (x *GetWithdrawalListRequest) ProtoReflect() protoreflect.Message + func (x *GetWithdrawalListRequest) Reset() + func (x *GetWithdrawalListRequest) String() string + type GetWithdrawalListRequestMultiError []error + func (m GetWithdrawalListRequestMultiError) AllErrors() []error + func (m GetWithdrawalListRequestMultiError) Error() string + type GetWithdrawalListRequestValidationError struct + func (e GetWithdrawalListRequestValidationError) Cause() error + func (e GetWithdrawalListRequestValidationError) Error() string + func (e GetWithdrawalListRequestValidationError) ErrorName() string + func (e GetWithdrawalListRequestValidationError) Field() string + func (e GetWithdrawalListRequestValidationError) Key() bool + func (e GetWithdrawalListRequestValidationError) Reason() string + type OperationData struct + Success bool + func (*OperationData) Descriptor() ([]byte, []int) + func (*OperationData) ProtoMessage() + func (m *OperationData) Validate() error + func (m *OperationData) ValidateAll() error + func (x *OperationData) GetSuccess() bool + func (x *OperationData) ProtoReflect() protoreflect.Message + func (x *OperationData) Reset() + func (x *OperationData) String() string + type OperationDataMultiError []error + func (m OperationDataMultiError) AllErrors() []error + func (m OperationDataMultiError) Error() string + type OperationDataValidationError struct + func (e OperationDataValidationError) Cause() error + func (e OperationDataValidationError) Error() string + func (e OperationDataValidationError) ErrorName() string + func (e OperationDataValidationError) Field() string + func (e OperationDataValidationError) Key() bool + func (e OperationDataValidationError) Reason() string + type RejectWithdrawalReply struct + Code int32 + Data *OperationData + Message string + func (*RejectWithdrawalReply) Descriptor() ([]byte, []int) + func (*RejectWithdrawalReply) ProtoMessage() + func (m *RejectWithdrawalReply) Validate() error + func (m *RejectWithdrawalReply) ValidateAll() error + func (x *RejectWithdrawalReply) GetCode() int32 + func (x *RejectWithdrawalReply) GetData() *OperationData + func (x *RejectWithdrawalReply) GetMessage() string + func (x *RejectWithdrawalReply) ProtoReflect() protoreflect.Message + func (x *RejectWithdrawalReply) Reset() + func (x *RejectWithdrawalReply) String() string + type RejectWithdrawalReplyMultiError []error + func (m RejectWithdrawalReplyMultiError) AllErrors() []error + func (m RejectWithdrawalReplyMultiError) Error() string + type RejectWithdrawalReplyValidationError struct + func (e RejectWithdrawalReplyValidationError) Cause() error + func (e RejectWithdrawalReplyValidationError) Error() string + func (e RejectWithdrawalReplyValidationError) ErrorName() string + func (e RejectWithdrawalReplyValidationError) Field() string + func (e RejectWithdrawalReplyValidationError) Key() bool + func (e RejectWithdrawalReplyValidationError) Reason() string + type RejectWithdrawalRequest struct + Id int64 + Reason string + func (*RejectWithdrawalRequest) Descriptor() ([]byte, []int) + func (*RejectWithdrawalRequest) ProtoMessage() + func (m *RejectWithdrawalRequest) Validate() error + func (m *RejectWithdrawalRequest) ValidateAll() error + func (x *RejectWithdrawalRequest) GetId() int64 + func (x *RejectWithdrawalRequest) GetReason() string + func (x *RejectWithdrawalRequest) ProtoReflect() protoreflect.Message + func (x *RejectWithdrawalRequest) Reset() + func (x *RejectWithdrawalRequest) String() string + type RejectWithdrawalRequestMultiError []error + func (m RejectWithdrawalRequestMultiError) AllErrors() []error + func (m RejectWithdrawalRequestMultiError) Error() string + type RejectWithdrawalRequestValidationError struct + func (e RejectWithdrawalRequestValidationError) Cause() error + func (e RejectWithdrawalRequestValidationError) Error() string + func (e RejectWithdrawalRequestValidationError) ErrorName() string + func (e RejectWithdrawalRequestValidationError) Field() string + func (e RejectWithdrawalRequestValidationError) Key() bool + func (e RejectWithdrawalRequestValidationError) Reason() string + type UnimplementedWithdrawalServiceServer struct + func (UnimplementedWithdrawalServiceServer) ApproveWithdrawal(context.Context, *ApproveWithdrawalRequest) (*ApproveWithdrawalReply, error) + func (UnimplementedWithdrawalServiceServer) GetWithdrawalList(context.Context, *GetWithdrawalListRequest) (*GetWithdrawalListReply, error) + func (UnimplementedWithdrawalServiceServer) RejectWithdrawal(context.Context, *RejectWithdrawalRequest) (*RejectWithdrawalReply, error) + type UnsafeWithdrawalServiceServer interface + type Withdrawal struct + Amount int64 + Content string + CreatedAt int64 + Id int64 + Method string + ProcessedAt int64 + Reason string + Status int32 + UpdatedAt int64 + UserId int64 + func (*Withdrawal) Descriptor() ([]byte, []int) + func (*Withdrawal) ProtoMessage() + func (m *Withdrawal) Validate() error + func (m *Withdrawal) ValidateAll() error + func (x *Withdrawal) GetAmount() int64 + func (x *Withdrawal) GetContent() string + func (x *Withdrawal) GetCreatedAt() int64 + func (x *Withdrawal) GetId() int64 + func (x *Withdrawal) GetMethod() string + func (x *Withdrawal) GetProcessedAt() int64 + func (x *Withdrawal) GetReason() string + func (x *Withdrawal) GetStatus() int32 + func (x *Withdrawal) GetUpdatedAt() int64 + func (x *Withdrawal) GetUserId() int64 + func (x *Withdrawal) ProtoReflect() protoreflect.Message + func (x *Withdrawal) Reset() + func (x *Withdrawal) String() string + type WithdrawalListData struct + List []*Withdrawal + Total int32 + func (*WithdrawalListData) Descriptor() ([]byte, []int) + func (*WithdrawalListData) ProtoMessage() + func (m *WithdrawalListData) Validate() error + func (m *WithdrawalListData) ValidateAll() error + func (x *WithdrawalListData) GetList() []*Withdrawal + func (x *WithdrawalListData) GetTotal() int32 + func (x *WithdrawalListData) ProtoReflect() protoreflect.Message + func (x *WithdrawalListData) Reset() + func (x *WithdrawalListData) String() string + type WithdrawalListDataMultiError []error + func (m WithdrawalListDataMultiError) AllErrors() []error + func (m WithdrawalListDataMultiError) Error() string + type WithdrawalListDataValidationError struct + func (e WithdrawalListDataValidationError) Cause() error + func (e WithdrawalListDataValidationError) Error() string + func (e WithdrawalListDataValidationError) ErrorName() string + func (e WithdrawalListDataValidationError) Field() string + func (e WithdrawalListDataValidationError) Key() bool + func (e WithdrawalListDataValidationError) Reason() string + type WithdrawalMultiError []error + func (m WithdrawalMultiError) AllErrors() []error + func (m WithdrawalMultiError) Error() string + type WithdrawalServiceClient interface + ApproveWithdrawal func(ctx context.Context, in *ApproveWithdrawalRequest, opts ...grpc.CallOption) (*ApproveWithdrawalReply, error) + GetWithdrawalList func(ctx context.Context, in *GetWithdrawalListRequest, opts ...grpc.CallOption) (*GetWithdrawalListReply, error) + RejectWithdrawal func(ctx context.Context, in *RejectWithdrawalRequest, opts ...grpc.CallOption) (*RejectWithdrawalReply, error) + func NewWithdrawalServiceClient(cc grpc.ClientConnInterface) WithdrawalServiceClient + type WithdrawalServiceHTTPClient interface + ApproveWithdrawal func(ctx context.Context, req *ApproveWithdrawalRequest, opts ...http.CallOption) (rsp *ApproveWithdrawalReply, err error) + GetWithdrawalList func(ctx context.Context, req *GetWithdrawalListRequest, opts ...http.CallOption) (rsp *GetWithdrawalListReply, err error) + RejectWithdrawal func(ctx context.Context, req *RejectWithdrawalRequest, opts ...http.CallOption) (rsp *RejectWithdrawalReply, err error) + func NewWithdrawalServiceHTTPClient(client *http.Client) WithdrawalServiceHTTPClient + type WithdrawalServiceHTTPClientImpl struct + func (c *WithdrawalServiceHTTPClientImpl) ApproveWithdrawal(ctx context.Context, in *ApproveWithdrawalRequest, opts ...http.CallOption) (*ApproveWithdrawalReply, error) + func (c *WithdrawalServiceHTTPClientImpl) GetWithdrawalList(ctx context.Context, in *GetWithdrawalListRequest, opts ...http.CallOption) (*GetWithdrawalListReply, error) + func (c *WithdrawalServiceHTTPClientImpl) RejectWithdrawal(ctx context.Context, in *RejectWithdrawalRequest, opts ...http.CallOption) (*RejectWithdrawalReply, error) + type WithdrawalServiceHTTPServer interface + ApproveWithdrawal func(context.Context, *ApproveWithdrawalRequest) (*ApproveWithdrawalReply, error) + GetWithdrawalList func(context.Context, *GetWithdrawalListRequest) (*GetWithdrawalListReply, error) + RejectWithdrawal func(context.Context, *RejectWithdrawalRequest) (*RejectWithdrawalReply, error) + type WithdrawalServiceServer interface + ApproveWithdrawal func(context.Context, *ApproveWithdrawalRequest) (*ApproveWithdrawalReply, error) + GetWithdrawalList func(context.Context, *GetWithdrawalListRequest) (*GetWithdrawalListReply, error) + RejectWithdrawal func(context.Context, *RejectWithdrawalRequest) (*RejectWithdrawalReply, error) + type WithdrawalValidationError struct + func (e WithdrawalValidationError) Cause() error + func (e WithdrawalValidationError) Error() string + func (e WithdrawalValidationError) ErrorName() string + func (e WithdrawalValidationError) Field() string + func (e WithdrawalValidationError) Key() bool + func (e WithdrawalValidationError) Reason() string