Documentation ¶
Index ¶
- Variables
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterTokenServiceServer(s grpc.ServiceRegistrar, srv TokenServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- func RegisterWalletServiceServer(s grpc.ServiceRegistrar, srv WalletServiceServer)
- type AuthServiceClient
- type AuthServiceServer
- type ChangeUserNamesRequest
- func (*ChangeUserNamesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeUserNamesRequest) GetName() string
- func (x *ChangeUserNamesRequest) GetUsername() string
- func (*ChangeUserNamesRequest) ProtoMessage()
- func (x *ChangeUserNamesRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeUserNamesRequest) Reset()
- func (x *ChangeUserNamesRequest) String() string
- type ChangeUserNamesResponse
- func (*ChangeUserNamesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeUserNamesResponse) GetMessage() string
- func (*ChangeUserNamesResponse) ProtoMessage()
- func (x *ChangeUserNamesResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeUserNamesResponse) Reset()
- func (x *ChangeUserNamesResponse) String() string
- type ChangeUserPasswordRequest
- func (*ChangeUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeUserPasswordRequest) GetNewPassword() string
- func (x *ChangeUserPasswordRequest) GetOldPassword() string
- func (*ChangeUserPasswordRequest) ProtoMessage()
- func (x *ChangeUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeUserPasswordRequest) Reset()
- func (x *ChangeUserPasswordRequest) String() string
- type ChangeUserPasswordResponse
- func (*ChangeUserPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeUserPasswordResponse) GetMessage() string
- func (*ChangeUserPasswordResponse) ProtoMessage()
- func (x *ChangeUserPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeUserPasswordResponse) Reset()
- func (x *ChangeUserPasswordResponse) String() string
- type CreateAccountRequest
- func (*CreateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountRequest) GetCurrency() Currency
- func (x *CreateAccountRequest) GetName() string
- func (*CreateAccountRequest) ProtoMessage()
- func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountRequest) Reset()
- func (x *CreateAccountRequest) String() string
- type CreateAccountResponse
- func (*CreateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountResponse) GetSuccess() bool
- func (*CreateAccountResponse) ProtoMessage()
- func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountResponse) Reset()
- func (x *CreateAccountResponse) String() string
- type CreateCardRequest
- type CreateCardResponse
- func (*CreateCardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCardResponse) GetSuccess() bool
- func (*CreateCardResponse) ProtoMessage()
- func (x *CreateCardResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCardResponse) Reset()
- func (x *CreateCardResponse) String() string
- type CreateTransactionRequest
- func (*CreateTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTransactionRequest) GetAmount() float64
- func (x *CreateTransactionRequest) GetCardNumber() string
- func (x *CreateTransactionRequest) GetRecipientCardNumber() string
- func (x *CreateTransactionRequest) GetType() TransactionType
- func (*CreateTransactionRequest) ProtoMessage()
- func (x *CreateTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTransactionRequest) Reset()
- func (x *CreateTransactionRequest) String() string
- type CreateTransactionResponse
- func (*CreateTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTransactionResponse) GetSuccess() bool
- func (*CreateTransactionResponse) ProtoMessage()
- func (x *CreateTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTransactionResponse) Reset()
- func (x *CreateTransactionResponse) String() string
- type CreateWalletRequest
- type CreateWalletResponse
- func (*CreateWalletResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWalletResponse) GetSuccess() bool
- func (*CreateWalletResponse) ProtoMessage()
- func (x *CreateWalletResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWalletResponse) Reset()
- func (x *CreateWalletResponse) String() string
- type Currency
- type DeleteAccountRequest
- func (*DeleteAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountRequest) GetAccountId() int64
- func (*DeleteAccountRequest) ProtoMessage()
- func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountRequest) Reset()
- func (x *DeleteAccountRequest) String() string
- type DeleteAccountResponse
- func (*DeleteAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountResponse) GetSuccess() bool
- func (*DeleteAccountResponse) ProtoMessage()
- func (x *DeleteAccountResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountResponse) Reset()
- func (x *DeleteAccountResponse) String() string
- type DeleteCardRequest
- func (*DeleteCardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCardRequest) GetCardNumber() string
- func (*DeleteCardRequest) ProtoMessage()
- func (x *DeleteCardRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCardRequest) Reset()
- func (x *DeleteCardRequest) String() string
- type DeleteCardResponse
- func (*DeleteCardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCardResponse) GetSuccess() bool
- func (*DeleteCardResponse) ProtoMessage()
- func (x *DeleteCardResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteCardResponse) Reset()
- func (x *DeleteCardResponse) String() string
- type GetAccountsRequest
- type GetAccountsResponse
- func (*GetAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountsResponse) GetAccounts() []*GetAccountsResponse_Account
- func (*GetAccountsResponse) ProtoMessage()
- func (x *GetAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountsResponse) Reset()
- func (x *GetAccountsResponse) String() string
- type GetAccountsResponse_Account
- func (*GetAccountsResponse_Account) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountsResponse_Account) GetBalance() float64
- func (x *GetAccountsResponse_Account) GetCurrency() Currency
- func (x *GetAccountsResponse_Account) GetId() int64
- func (x *GetAccountsResponse_Account) GetName() string
- func (*GetAccountsResponse_Account) ProtoMessage()
- func (x *GetAccountsResponse_Account) ProtoReflect() protoreflect.Message
- func (x *GetAccountsResponse_Account) Reset()
- func (x *GetAccountsResponse_Account) String() string
- type GetCardsRequest
- type GetCardsResponse
- func (*GetCardsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCardsResponse) GetCards() []*GetCardsResponse_Card
- func (*GetCardsResponse) ProtoMessage()
- func (x *GetCardsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCardsResponse) Reset()
- func (x *GetCardsResponse) String() string
- type GetCardsResponse_Card
- func (*GetCardsResponse_Card) Descriptor() ([]byte, []int)deprecated
- func (x *GetCardsResponse_Card) GetNumber() string
- func (*GetCardsResponse_Card) ProtoMessage()
- func (x *GetCardsResponse_Card) ProtoReflect() protoreflect.Message
- func (x *GetCardsResponse_Card) Reset()
- func (x *GetCardsResponse_Card) String() string
- type GetTransactionHistoryRequest
- func (*GetTransactionHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionHistoryRequest) GetAccountId() int64
- func (x *GetTransactionHistoryRequest) GetLimit() int32
- func (x *GetTransactionHistoryRequest) GetMaxAmount() float64
- func (x *GetTransactionHistoryRequest) GetMinAmount() float64
- func (x *GetTransactionHistoryRequest) GetOffset() int32
- func (x *GetTransactionHistoryRequest) GetTransactionType() TransactionType
- func (*GetTransactionHistoryRequest) ProtoMessage()
- func (x *GetTransactionHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionHistoryRequest) Reset()
- func (x *GetTransactionHistoryRequest) String() string
- type GetTransactionHistoryResponse
- func (*GetTransactionHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionHistoryResponse) GetTransactions() []*GetTransactionHistoryResponse_Transaction
- func (*GetTransactionHistoryResponse) ProtoMessage()
- func (x *GetTransactionHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionHistoryResponse) Reset()
- func (x *GetTransactionHistoryResponse) String() string
- type GetTransactionHistoryResponse_Transaction
- func (*GetTransactionHistoryResponse_Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionHistoryResponse_Transaction) GetAmount() float64
- func (x *GetTransactionHistoryResponse_Transaction) GetCreatedAt() *timestamppb.Timestamp
- func (x *GetTransactionHistoryResponse_Transaction) GetId() string
- func (x *GetTransactionHistoryResponse_Transaction) GetIsRolledBack() bool
- func (x *GetTransactionHistoryResponse_Transaction) GetRecipientName() string
- func (x *GetTransactionHistoryResponse_Transaction) GetSenderName() string
- func (x *GetTransactionHistoryResponse_Transaction) GetType() TransactionType
- func (*GetTransactionHistoryResponse_Transaction) ProtoMessage()
- func (x *GetTransactionHistoryResponse_Transaction) ProtoReflect() protoreflect.Message
- func (x *GetTransactionHistoryResponse_Transaction) Reset()
- func (x *GetTransactionHistoryResponse_Transaction) String() string
- type GetUserByUsernameRequest
- func (*GetUserByUsernameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByUsernameRequest) GetUsername() string
- func (*GetUserByUsernameRequest) ProtoMessage()
- func (x *GetUserByUsernameRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserByUsernameRequest) Reset()
- func (x *GetUserByUsernameRequest) String() string
- type GetUserByUsernameResponse
- func (*GetUserByUsernameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByUsernameResponse) GetUsersInto() []*GetUserByUsernameResponse_UserInfo
- func (*GetUserByUsernameResponse) ProtoMessage()
- func (x *GetUserByUsernameResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserByUsernameResponse) Reset()
- func (x *GetUserByUsernameResponse) String() string
- type GetUserByUsernameResponse_UserInfo
- func (*GetUserByUsernameResponse_UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByUsernameResponse_UserInfo) GetEmail() string
- func (x *GetUserByUsernameResponse_UserInfo) GetFirstName() string
- func (x *GetUserByUsernameResponse_UserInfo) GetLastName() string
- func (x *GetUserByUsernameResponse_UserInfo) GetUsername() string
- func (*GetUserByUsernameResponse_UserInfo) ProtoMessage()
- func (x *GetUserByUsernameResponse_UserInfo) ProtoReflect() protoreflect.Message
- func (x *GetUserByUsernameResponse_UserInfo) Reset()
- func (x *GetUserByUsernameResponse_UserInfo) String() string
- type GetUserDevicesRequest
- type GetUserDevicesResponse
- func (*GetUserDevicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserDevicesResponse) GetDevicesSessions() []*Session
- func (*GetUserDevicesResponse) ProtoMessage()
- func (x *GetUserDevicesResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserDevicesResponse) Reset()
- func (x *GetUserDevicesResponse) String() string
- type GetWalletsRequest
- type GetWalletsResponse
- func (*GetWalletsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWalletsResponse) GetWallets() []*GetWalletsResponse_Wallet
- func (*GetWalletsResponse) ProtoMessage()
- func (x *GetWalletsResponse) ProtoReflect() protoreflect.Message
- func (x *GetWalletsResponse) Reset()
- func (x *GetWalletsResponse) String() string
- type GetWalletsResponse_Wallet
- func (*GetWalletsResponse_Wallet) Descriptor() ([]byte, []int)deprecated
- func (x *GetWalletsResponse_Wallet) GetBalance() float64
- func (x *GetWalletsResponse_Wallet) GetCurrency() Currency
- func (x *GetWalletsResponse_Wallet) GetId() int32
- func (x *GetWalletsResponse_Wallet) GetName() string
- func (*GetWalletsResponse_Wallet) ProtoMessage()
- func (x *GetWalletsResponse_Wallet) ProtoReflect() protoreflect.Message
- func (x *GetWalletsResponse_Wallet) Reset()
- func (x *GetWalletsResponse_Wallet) String() string
- type LogoutRequest
- type LogoutResponse
- type RenewAccessTokenRequest
- func (*RenewAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenewAccessTokenRequest) GetRefreshToken() string
- func (*RenewAccessTokenRequest) ProtoMessage()
- func (x *RenewAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RenewAccessTokenRequest) Reset()
- func (x *RenewAccessTokenRequest) String() string
- type RenewAccessTokenResponse
- func (*RenewAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenewAccessTokenResponse) GetAccessToken() string
- func (x *RenewAccessTokenResponse) GetRefreshToken() string
- func (*RenewAccessTokenResponse) ProtoMessage()
- func (x *RenewAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RenewAccessTokenResponse) Reset()
- func (x *RenewAccessTokenResponse) String() string
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetExpiresAt() *timestamppb.Timestamp
- func (x *Session) GetId() string
- func (x *Session) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Session) GetUserDevice() *Session_UserDevice
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type Session_UserDevice
- func (*Session_UserDevice) Descriptor() ([]byte, []int)deprecated
- func (x *Session_UserDevice) GetClientIp() string
- func (x *Session_UserDevice) GetUserAgent() string
- func (*Session_UserDevice) ProtoMessage()
- func (x *Session_UserDevice) ProtoReflect() protoreflect.Message
- func (x *Session_UserDevice) Reset()
- func (x *Session_UserDevice) String() string
- type SigninRequest
- func (*SigninRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SigninRequest) GetEmail() string
- func (x *SigninRequest) GetPassword() string
- func (*SigninRequest) ProtoMessage()
- func (x *SigninRequest) ProtoReflect() protoreflect.Message
- func (x *SigninRequest) Reset()
- func (x *SigninRequest) String() string
- type SigninResponse
- func (*SigninResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SigninResponse) GetAccessToken() string
- func (x *SigninResponse) GetRefreshToken() string
- func (*SigninResponse) ProtoMessage()
- func (x *SigninResponse) ProtoReflect() protoreflect.Message
- func (x *SigninResponse) Reset()
- func (x *SigninResponse) String() string
- type SignupRequest
- func (*SignupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignupRequest) GetEmail() string
- func (x *SignupRequest) GetFirstName() string
- func (x *SignupRequest) GetLastName() string
- func (x *SignupRequest) GetPassword() string
- func (x *SignupRequest) GetUsername() string
- func (*SignupRequest) ProtoMessage()
- func (x *SignupRequest) ProtoReflect() protoreflect.Message
- func (x *SignupRequest) Reset()
- func (x *SignupRequest) String() string
- type SignupResponse
- type TokenServiceClient
- type TokenServiceServer
- type TransactionType
- func (TransactionType) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionType) Enum() *TransactionType
- func (TransactionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionType) Number() protoreflect.EnumNumber
- func (x TransactionType) String() string
- func (TransactionType) Type() protoreflect.EnumType
- type TransferRollbackRequest
- func (*TransferRollbackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransferRollbackRequest) GetTransactionId() string
- func (*TransferRollbackRequest) ProtoMessage()
- func (x *TransferRollbackRequest) ProtoReflect() protoreflect.Message
- func (x *TransferRollbackRequest) Reset()
- func (x *TransferRollbackRequest) String() string
- type TransferRollbackResponse
- func (*TransferRollbackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransferRollbackResponse) GetSuccess() bool
- func (*TransferRollbackResponse) ProtoMessage()
- func (x *TransferRollbackResponse) ProtoReflect() protoreflect.Message
- func (x *TransferRollbackResponse) Reset()
- func (x *TransferRollbackResponse) String() string
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) GetUserDevices(context.Context, *GetUserDevicesRequest) (*GetUserDevicesResponse, error)
- func (UnimplementedAuthServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- func (UnimplementedAuthServiceServer) RenewAccessToken(context.Context, *RenewAccessTokenRequest) (*RenewAccessTokenResponse, error)
- func (UnimplementedAuthServiceServer) Signin(context.Context, *SigninRequest) (*SigninResponse, error)
- func (UnimplementedAuthServiceServer) Signup(context.Context, *SignupRequest) (*SignupResponse, error)
- type UnimplementedTokenServiceServer
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) ChangeUserNames(context.Context, *ChangeUserNamesRequest) (*ChangeUserNamesResponse, error)
- func (UnimplementedUserServiceServer) ChangeUserPassword(context.Context, *ChangeUserPasswordRequest) (*ChangeUserPasswordResponse, error)
- func (UnimplementedUserServiceServer) GetUserByUsername(*GetUserByUsernameRequest, UserService_GetUserByUsernameServer) error
- func (UnimplementedUserServiceServer) UpdateResetUserPassword(context.Context, *UpdateResetUserPasswordRequest) (*UpdateResetUserPasswordResponse, error)
- func (UnimplementedUserServiceServer) UpdateUserEmail(context.Context, *UpdateUserEmailRequest) (*UpdateUserEmailResponse, error)
- func (UnimplementedUserServiceServer) VerifyUserEmail(context.Context, *VerifyUserEmailRequest) (*VerifyUserEmailResponse, error)
- func (UnimplementedUserServiceServer) VerifyUserPassword(context.Context, *VerifyUserPasswordRequest) (*VerifyUserPasswordResponse, error)
- type UnimplementedWalletServiceServer
- func (UnimplementedWalletServiceServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
- func (UnimplementedWalletServiceServer) CreateCard(context.Context, *CreateCardRequest) (*CreateCardResponse, error)
- func (UnimplementedWalletServiceServer) CreateTransaction(context.Context, *CreateTransactionRequest) (*CreateTransactionResponse, error)
- func (UnimplementedWalletServiceServer) CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error)
- func (UnimplementedWalletServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error)
- func (UnimplementedWalletServiceServer) DeleteCard(context.Context, *DeleteCardRequest) (*DeleteCardResponse, error)
- func (UnimplementedWalletServiceServer) GetAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error)
- func (UnimplementedWalletServiceServer) GetCards(context.Context, *GetCardsRequest) (*GetCardsResponse, error)
- func (UnimplementedWalletServiceServer) GetTransactionHistory(context.Context, *GetTransactionHistoryRequest) (*GetTransactionHistoryResponse, error)
- func (UnimplementedWalletServiceServer) TransferRollback(context.Context, *TransferRollbackRequest) (*TransferRollbackResponse, error)
- type UnsafeAuthServiceServer
- type UnsafeTokenServiceServer
- type UnsafeUserServiceServer
- type UnsafeWalletServiceServer
- type UpdateResetUserPasswordRequest
- func (*UpdateResetUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (*UpdateResetUserPasswordRequest) ProtoMessage()
- func (x *UpdateResetUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResetUserPasswordRequest) Reset()
- func (x *UpdateResetUserPasswordRequest) String() string
- type UpdateResetUserPasswordResponse
- func (*UpdateResetUserPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResetUserPasswordResponse) GetMessage() string
- func (*UpdateResetUserPasswordResponse) ProtoMessage()
- func (x *UpdateResetUserPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResetUserPasswordResponse) Reset()
- func (x *UpdateResetUserPasswordResponse) String() string
- type UpdateUserEmailRequest
- func (*UpdateUserEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserEmailRequest) GetEmail() string
- func (*UpdateUserEmailRequest) ProtoMessage()
- func (x *UpdateUserEmailRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserEmailRequest) Reset()
- func (x *UpdateUserEmailRequest) String() string
- type UpdateUserEmailResponse
- func (*UpdateUserEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserEmailResponse) GetMessage() string
- func (*UpdateUserEmailResponse) ProtoMessage()
- func (x *UpdateUserEmailResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserEmailResponse) Reset()
- func (x *UpdateUserEmailResponse) String() string
- type UserServiceClient
- type UserServiceServer
- type UserService_GetUserByUsernameClient
- type UserService_GetUserByUsernameServer
- type ValidateTokenRequest
- func (*ValidateTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTokenRequest) GetAccessToken() string
- func (*ValidateTokenRequest) ProtoMessage()
- func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateTokenRequest) Reset()
- func (x *ValidateTokenRequest) String() string
- type ValidateTokenResponse
- func (*ValidateTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTokenResponse) GetUserId() string
- func (*ValidateTokenResponse) ProtoMessage()
- func (x *ValidateTokenResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateTokenResponse) Reset()
- func (x *ValidateTokenResponse) String() string
- type VerifyUserEmailRequest
- func (*VerifyUserEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyUserEmailRequest) GetConfirmationCode() string
- func (*VerifyUserEmailRequest) ProtoMessage()
- func (x *VerifyUserEmailRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyUserEmailRequest) Reset()
- func (x *VerifyUserEmailRequest) String() string
- type VerifyUserEmailResponse
- func (*VerifyUserEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyUserEmailResponse) GetMessage() string
- func (*VerifyUserEmailResponse) ProtoMessage()
- func (x *VerifyUserEmailResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyUserEmailResponse) Reset()
- func (x *VerifyUserEmailResponse) String() string
- type VerifyUserPasswordRequest
- func (*VerifyUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyUserPasswordRequest) GetConfirmationCode() string
- func (x *VerifyUserPasswordRequest) GetNewPassword() string
- func (*VerifyUserPasswordRequest) ProtoMessage()
- func (x *VerifyUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyUserPasswordRequest) Reset()
- func (x *VerifyUserPasswordRequest) String() string
- type VerifyUserPasswordResponse
- func (*VerifyUserPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyUserPasswordResponse) GetMessage() string
- func (*VerifyUserPasswordResponse) ProtoMessage()
- func (x *VerifyUserPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyUserPasswordResponse) Reset()
- func (x *VerifyUserPasswordResponse) String() string
- type WalletServiceClient
- type WalletServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( TransactionType_name = map[int32]string{ 0: "UNKNOWN", 1: "DEPOSIT", 2: "WITHDRAWAL", 3: "TRANSFER", } TransactionType_value = map[string]int32{ "UNKNOWN": 0, "DEPOSIT": 1, "WITHDRAWAL": 2, "TRANSFER": 3, } )
Enum value maps for TransactionType.
var ( Currency_name = map[int32]string{ 0: "UNDEFINED", 1: "EGP", 2: "USD", 3: "EUR", 4: "RUB", 5: "GBP", } Currency_value = map[string]int32{ "UNDEFINED": 0, "EGP": 1, "USD": 2, "EUR": 3, "RUB": 4, "GBP": 5, } )
Enum value maps for Currency.
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Signin", Handler: _AuthService_Signin_Handler, }, { MethodName: "Signup", Handler: _AuthService_Signup_Handler, }, { MethodName: "Logout", Handler: _AuthService_Logout_Handler, }, { MethodName: "RenewAccessToken", Handler: _AuthService_RenewAccessToken_Handler, }, { MethodName: "GetUserDevices", Handler: _AuthService_GetUserDevices_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_auth_proto protoreflect.FileDescriptor
var File_token_proto protoreflect.FileDescriptor
var File_user_proto protoreflect.FileDescriptor
var File_wallet_proto protoreflect.FileDescriptor
var TokenService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.TokenService", HandlerType: (*TokenServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ValidateToken", Handler: _TokenService_ValidateToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "token.proto", }
TokenService_ServiceDesc is the grpc.ServiceDesc for TokenService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ChangeUserNames", Handler: _UserService_ChangeUserNames_Handler, }, { MethodName: "ChangeUserPassword", Handler: _UserService_ChangeUserPassword_Handler, }, { MethodName: "UpdateUserEmail", Handler: _UserService_UpdateUserEmail_Handler, }, { MethodName: "UpdateResetUserPassword", Handler: _UserService_UpdateResetUserPassword_Handler, }, { MethodName: "VerifyUserEmail", Handler: _UserService_VerifyUserEmail_Handler, }, { MethodName: "VerifyUserPassword", Handler: _UserService_VerifyUserPassword_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetUserByUsername", Handler: _UserService_GetUserByUsername_Handler, ServerStreams: true, }, }, Metadata: "user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WalletService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.WalletService", HandlerType: (*WalletServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateWallet", Handler: _WalletService_CreateWallet_Handler, }, { MethodName: "CreateAccount", Handler: _WalletService_CreateAccount_Handler, }, { MethodName: "GetAccounts", Handler: _WalletService_GetAccounts_Handler, }, { MethodName: "DeleteAccount", Handler: _WalletService_DeleteAccount_Handler, }, { MethodName: "CreateCard", Handler: _WalletService_CreateCard_Handler, }, { MethodName: "GetCards", Handler: _WalletService_GetCards_Handler, }, { MethodName: "DeleteCard", Handler: _WalletService_DeleteCard_Handler, }, { MethodName: "CreateTransaction", Handler: _WalletService_CreateTransaction_Handler, }, { MethodName: "TransferRollback", Handler: _WalletService_TransferRollback_Handler, }, { MethodName: "GetTransactionHistory", Handler: _WalletService_GetTransactionHistory_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "wallet.proto", }
WalletService_ServiceDesc is the grpc.ServiceDesc for WalletService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterTokenServiceServer ¶
func RegisterTokenServiceServer(s grpc.ServiceRegistrar, srv TokenServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
func RegisterWalletServiceServer ¶
func RegisterWalletServiceServer(s grpc.ServiceRegistrar, srv WalletServiceServer)
Types ¶
type AuthServiceClient ¶
type AuthServiceClient interface { // Auth Signin(ctx context.Context, in *SigninRequest, opts ...grpc.CallOption) (*SigninResponse, error) Signup(ctx context.Context, in *SignupRequest, opts ...grpc.CallOption) (*SignupResponse, error) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) // Token RenewAccessToken(ctx context.Context, in *RenewAccessTokenRequest, opts ...grpc.CallOption) (*RenewAccessTokenResponse, error) // Sessions GetUserDevices(ctx context.Context, in *GetUserDevicesRequest, opts ...grpc.CallOption) (*GetUserDevicesResponse, error) }
AuthServiceClient is the client API for AuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface { // Auth Signin(context.Context, *SigninRequest) (*SigninResponse, error) Signup(context.Context, *SignupRequest) (*SignupResponse, error) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error) // Token RenewAccessToken(context.Context, *RenewAccessTokenRequest) (*RenewAccessTokenResponse, error) // Sessions GetUserDevices(context.Context, *GetUserDevicesRequest) (*GetUserDevicesResponse, error) // contains filtered or unexported methods }
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type ChangeUserNamesRequest ¶
type ChangeUserNamesRequest struct { Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username,omitempty"` // contains filtered or unexported fields }
ChangeUserNames
func (*ChangeUserNamesRequest) Descriptor
deprecated
func (*ChangeUserNamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeUserNamesRequest.ProtoReflect.Descriptor instead.
func (*ChangeUserNamesRequest) GetName ¶
func (x *ChangeUserNamesRequest) GetName() string
func (*ChangeUserNamesRequest) GetUsername ¶
func (x *ChangeUserNamesRequest) GetUsername() string
func (*ChangeUserNamesRequest) ProtoMessage ¶
func (*ChangeUserNamesRequest) ProtoMessage()
func (*ChangeUserNamesRequest) ProtoReflect ¶
func (x *ChangeUserNamesRequest) ProtoReflect() protoreflect.Message
func (*ChangeUserNamesRequest) Reset ¶
func (x *ChangeUserNamesRequest) Reset()
func (*ChangeUserNamesRequest) String ¶
func (x *ChangeUserNamesRequest) String() string
type ChangeUserNamesResponse ¶
type ChangeUserNamesResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ChangeUserNamesResponse) Descriptor
deprecated
func (*ChangeUserNamesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeUserNamesResponse.ProtoReflect.Descriptor instead.
func (*ChangeUserNamesResponse) GetMessage ¶
func (x *ChangeUserNamesResponse) GetMessage() string
func (*ChangeUserNamesResponse) ProtoMessage ¶
func (*ChangeUserNamesResponse) ProtoMessage()
func (*ChangeUserNamesResponse) ProtoReflect ¶
func (x *ChangeUserNamesResponse) ProtoReflect() protoreflect.Message
func (*ChangeUserNamesResponse) Reset ¶
func (x *ChangeUserNamesResponse) Reset()
func (*ChangeUserNamesResponse) String ¶
func (x *ChangeUserNamesResponse) String() string
type ChangeUserPasswordRequest ¶
type ChangeUserPasswordRequest struct { OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"` NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // contains filtered or unexported fields }
ChangeUserPassword
func (*ChangeUserPasswordRequest) Descriptor
deprecated
func (*ChangeUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangeUserPasswordRequest) GetNewPassword ¶
func (x *ChangeUserPasswordRequest) GetNewPassword() string
func (*ChangeUserPasswordRequest) GetOldPassword ¶
func (x *ChangeUserPasswordRequest) GetOldPassword() string
func (*ChangeUserPasswordRequest) ProtoMessage ¶
func (*ChangeUserPasswordRequest) ProtoMessage()
func (*ChangeUserPasswordRequest) ProtoReflect ¶
func (x *ChangeUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangeUserPasswordRequest) Reset ¶
func (x *ChangeUserPasswordRequest) Reset()
func (*ChangeUserPasswordRequest) String ¶
func (x *ChangeUserPasswordRequest) String() string
type ChangeUserPasswordResponse ¶
type ChangeUserPasswordResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ChangeUserPasswordResponse) Descriptor
deprecated
func (*ChangeUserPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeUserPasswordResponse.ProtoReflect.Descriptor instead.
func (*ChangeUserPasswordResponse) GetMessage ¶
func (x *ChangeUserPasswordResponse) GetMessage() string
func (*ChangeUserPasswordResponse) ProtoMessage ¶
func (*ChangeUserPasswordResponse) ProtoMessage()
func (*ChangeUserPasswordResponse) ProtoReflect ¶
func (x *ChangeUserPasswordResponse) ProtoReflect() protoreflect.Message
func (*ChangeUserPasswordResponse) Reset ¶
func (x *ChangeUserPasswordResponse) Reset()
func (*ChangeUserPasswordResponse) String ¶
func (x *ChangeUserPasswordResponse) String() string
type CreateAccountRequest ¶
type CreateAccountRequest struct { Currency Currency `protobuf:"varint,1,opt,name=currency,proto3,enum=pb.Currency" json:"currency,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
CreateAccount
func (*CreateAccountRequest) Descriptor
deprecated
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetCurrency ¶
func (x *CreateAccountRequest) GetCurrency() Currency
func (*CreateAccountRequest) GetName ¶
func (x *CreateAccountRequest) GetName() string
func (*CreateAccountRequest) ProtoMessage ¶
func (*CreateAccountRequest) ProtoMessage()
func (*CreateAccountRequest) ProtoReflect ¶
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountRequest) Reset ¶
func (x *CreateAccountRequest) Reset()
func (*CreateAccountRequest) String ¶
func (x *CreateAccountRequest) String() string
type CreateAccountResponse ¶
type CreateAccountResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountResponse) Descriptor
deprecated
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetSuccess ¶
func (x *CreateAccountResponse) GetSuccess() bool
func (*CreateAccountResponse) ProtoMessage ¶
func (*CreateAccountResponse) ProtoMessage()
func (*CreateAccountResponse) ProtoReflect ¶
func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountResponse) Reset ¶
func (x *CreateAccountResponse) Reset()
func (*CreateAccountResponse) String ¶
func (x *CreateAccountResponse) String() string
type CreateCardRequest ¶
type CreateCardRequest struct { AccountId int64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
CreateCard
func (*CreateCardRequest) Descriptor
deprecated
func (*CreateCardRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCardRequest.ProtoReflect.Descriptor instead.
func (*CreateCardRequest) GetAccountId ¶
func (x *CreateCardRequest) GetAccountId() int64
func (*CreateCardRequest) ProtoMessage ¶
func (*CreateCardRequest) ProtoMessage()
func (*CreateCardRequest) ProtoReflect ¶
func (x *CreateCardRequest) ProtoReflect() protoreflect.Message
func (*CreateCardRequest) Reset ¶
func (x *CreateCardRequest) Reset()
func (*CreateCardRequest) String ¶
func (x *CreateCardRequest) String() string
type CreateCardResponse ¶
type CreateCardResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*CreateCardResponse) Descriptor
deprecated
func (*CreateCardResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCardResponse.ProtoReflect.Descriptor instead.
func (*CreateCardResponse) GetSuccess ¶
func (x *CreateCardResponse) GetSuccess() bool
func (*CreateCardResponse) ProtoMessage ¶
func (*CreateCardResponse) ProtoMessage()
func (*CreateCardResponse) ProtoReflect ¶
func (x *CreateCardResponse) ProtoReflect() protoreflect.Message
func (*CreateCardResponse) Reset ¶
func (x *CreateCardResponse) Reset()
func (*CreateCardResponse) String ¶
func (x *CreateCardResponse) String() string
type CreateTransactionRequest ¶
type CreateTransactionRequest struct { Type TransactionType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.TransactionType" json:"type,omitempty"` Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"` CardNumber string `protobuf:"bytes,3,opt,name=card_number,json=cardNumber,proto3" json:"card_number,omitempty"` RecipientCardNumber *string `` // required ONLY on `TransferType.TRANSFER` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
CreateTransaction
func (*CreateTransactionRequest) Descriptor
deprecated
func (*CreateTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTransactionRequest.ProtoReflect.Descriptor instead.
func (*CreateTransactionRequest) GetAmount ¶
func (x *CreateTransactionRequest) GetAmount() float64
func (*CreateTransactionRequest) GetCardNumber ¶
func (x *CreateTransactionRequest) GetCardNumber() string
func (*CreateTransactionRequest) GetRecipientCardNumber ¶
func (x *CreateTransactionRequest) GetRecipientCardNumber() string
func (*CreateTransactionRequest) GetType ¶
func (x *CreateTransactionRequest) GetType() TransactionType
func (*CreateTransactionRequest) ProtoMessage ¶
func (*CreateTransactionRequest) ProtoMessage()
func (*CreateTransactionRequest) ProtoReflect ¶
func (x *CreateTransactionRequest) ProtoReflect() protoreflect.Message
func (*CreateTransactionRequest) Reset ¶
func (x *CreateTransactionRequest) Reset()
func (*CreateTransactionRequest) String ¶
func (x *CreateTransactionRequest) String() string
type CreateTransactionResponse ¶
type CreateTransactionResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*CreateTransactionResponse) Descriptor
deprecated
func (*CreateTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTransactionResponse.ProtoReflect.Descriptor instead.
func (*CreateTransactionResponse) GetSuccess ¶
func (x *CreateTransactionResponse) GetSuccess() bool
func (*CreateTransactionResponse) ProtoMessage ¶
func (*CreateTransactionResponse) ProtoMessage()
func (*CreateTransactionResponse) ProtoReflect ¶
func (x *CreateTransactionResponse) ProtoReflect() protoreflect.Message
func (*CreateTransactionResponse) Reset ¶
func (x *CreateTransactionResponse) Reset()
func (*CreateTransactionResponse) String ¶
func (x *CreateTransactionResponse) String() string
type CreateWalletRequest ¶
type CreateWalletRequest struct {
// contains filtered or unexported fields
}
CreateWallet Wallet is a user's account in the system that can have multiple accounts
func (*CreateWalletRequest) Descriptor
deprecated
func (*CreateWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWalletRequest.ProtoReflect.Descriptor instead.
func (*CreateWalletRequest) ProtoMessage ¶
func (*CreateWalletRequest) ProtoMessage()
func (*CreateWalletRequest) ProtoReflect ¶
func (x *CreateWalletRequest) ProtoReflect() protoreflect.Message
func (*CreateWalletRequest) Reset ¶
func (x *CreateWalletRequest) Reset()
func (*CreateWalletRequest) String ¶
func (x *CreateWalletRequest) String() string
type CreateWalletResponse ¶
type CreateWalletResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*CreateWalletResponse) Descriptor
deprecated
func (*CreateWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWalletResponse.ProtoReflect.Descriptor instead.
func (*CreateWalletResponse) GetSuccess ¶
func (x *CreateWalletResponse) GetSuccess() bool
func (*CreateWalletResponse) ProtoMessage ¶
func (*CreateWalletResponse) ProtoMessage()
func (*CreateWalletResponse) ProtoReflect ¶
func (x *CreateWalletResponse) ProtoReflect() protoreflect.Message
func (*CreateWalletResponse) Reset ¶
func (x *CreateWalletResponse) Reset()
func (*CreateWalletResponse) String ¶
func (x *CreateWalletResponse) String() string
type Currency ¶
type Currency int32
func (Currency) Descriptor ¶
func (Currency) Descriptor() protoreflect.EnumDescriptor
func (Currency) EnumDescriptor
deprecated
func (Currency) Number ¶
func (x Currency) Number() protoreflect.EnumNumber
func (Currency) Type ¶
func (Currency) Type() protoreflect.EnumType
type DeleteAccountRequest ¶
type DeleteAccountRequest struct { AccountId int64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
DeleteAccount
func (*DeleteAccountRequest) Descriptor
deprecated
func (*DeleteAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccountRequest) GetAccountId ¶
func (x *DeleteAccountRequest) GetAccountId() int64
func (*DeleteAccountRequest) ProtoMessage ¶
func (*DeleteAccountRequest) ProtoMessage()
func (*DeleteAccountRequest) ProtoReflect ¶
func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccountRequest) Reset ¶
func (x *DeleteAccountRequest) Reset()
func (*DeleteAccountRequest) String ¶
func (x *DeleteAccountRequest) String() string
type DeleteAccountResponse ¶
type DeleteAccountResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccountResponse) Descriptor
deprecated
func (*DeleteAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead.
func (*DeleteAccountResponse) GetSuccess ¶
func (x *DeleteAccountResponse) GetSuccess() bool
func (*DeleteAccountResponse) ProtoMessage ¶
func (*DeleteAccountResponse) ProtoMessage()
func (*DeleteAccountResponse) ProtoReflect ¶
func (x *DeleteAccountResponse) ProtoReflect() protoreflect.Message
func (*DeleteAccountResponse) Reset ¶
func (x *DeleteAccountResponse) Reset()
func (*DeleteAccountResponse) String ¶
func (x *DeleteAccountResponse) String() string
type DeleteCardRequest ¶
type DeleteCardRequest struct { CardNumber string `protobuf:"bytes,1,opt,name=card_number,json=cardNumber,proto3" json:"card_number,omitempty"` // contains filtered or unexported fields }
DeleteCard
func (*DeleteCardRequest) Descriptor
deprecated
func (*DeleteCardRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCardRequest.ProtoReflect.Descriptor instead.
func (*DeleteCardRequest) GetCardNumber ¶
func (x *DeleteCardRequest) GetCardNumber() string
func (*DeleteCardRequest) ProtoMessage ¶
func (*DeleteCardRequest) ProtoMessage()
func (*DeleteCardRequest) ProtoReflect ¶
func (x *DeleteCardRequest) ProtoReflect() protoreflect.Message
func (*DeleteCardRequest) Reset ¶
func (x *DeleteCardRequest) Reset()
func (*DeleteCardRequest) String ¶
func (x *DeleteCardRequest) String() string
type DeleteCardResponse ¶
type DeleteCardResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*DeleteCardResponse) Descriptor
deprecated
func (*DeleteCardResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCardResponse.ProtoReflect.Descriptor instead.
func (*DeleteCardResponse) GetSuccess ¶
func (x *DeleteCardResponse) GetSuccess() bool
func (*DeleteCardResponse) ProtoMessage ¶
func (*DeleteCardResponse) ProtoMessage()
func (*DeleteCardResponse) ProtoReflect ¶
func (x *DeleteCardResponse) ProtoReflect() protoreflect.Message
func (*DeleteCardResponse) Reset ¶
func (x *DeleteCardResponse) Reset()
func (*DeleteCardResponse) String ¶
func (x *DeleteCardResponse) String() string
type GetAccountsRequest ¶
type GetAccountsRequest struct {
// contains filtered or unexported fields
}
GetAccounts
func (*GetAccountsRequest) Descriptor
deprecated
func (*GetAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountsRequest.ProtoReflect.Descriptor instead.
func (*GetAccountsRequest) ProtoMessage ¶
func (*GetAccountsRequest) ProtoMessage()
func (*GetAccountsRequest) ProtoReflect ¶
func (x *GetAccountsRequest) ProtoReflect() protoreflect.Message
func (*GetAccountsRequest) Reset ¶
func (x *GetAccountsRequest) Reset()
func (*GetAccountsRequest) String ¶
func (x *GetAccountsRequest) String() string
type GetAccountsResponse ¶
type GetAccountsResponse struct { Accounts []*GetAccountsResponse_Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*GetAccountsResponse) Descriptor
deprecated
func (*GetAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountsResponse.ProtoReflect.Descriptor instead.
func (*GetAccountsResponse) GetAccounts ¶
func (x *GetAccountsResponse) GetAccounts() []*GetAccountsResponse_Account
func (*GetAccountsResponse) ProtoMessage ¶
func (*GetAccountsResponse) ProtoMessage()
func (*GetAccountsResponse) ProtoReflect ¶
func (x *GetAccountsResponse) ProtoReflect() protoreflect.Message
func (*GetAccountsResponse) Reset ¶
func (x *GetAccountsResponse) Reset()
func (*GetAccountsResponse) String ¶
func (x *GetAccountsResponse) String() string
type GetAccountsResponse_Account ¶
type GetAccountsResponse_Account struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Balance float64 `protobuf:"fixed64,3,opt,name=balance,proto3" json:"balance,omitempty"` Currency Currency `protobuf:"varint,4,opt,name=currency,proto3,enum=pb.Currency" json:"currency,omitempty"` // contains filtered or unexported fields }
func (*GetAccountsResponse_Account) Descriptor
deprecated
func (*GetAccountsResponse_Account) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountsResponse_Account.ProtoReflect.Descriptor instead.
func (*GetAccountsResponse_Account) GetBalance ¶
func (x *GetAccountsResponse_Account) GetBalance() float64
func (*GetAccountsResponse_Account) GetCurrency ¶
func (x *GetAccountsResponse_Account) GetCurrency() Currency
func (*GetAccountsResponse_Account) GetId ¶
func (x *GetAccountsResponse_Account) GetId() int64
func (*GetAccountsResponse_Account) GetName ¶
func (x *GetAccountsResponse_Account) GetName() string
func (*GetAccountsResponse_Account) ProtoMessage ¶
func (*GetAccountsResponse_Account) ProtoMessage()
func (*GetAccountsResponse_Account) ProtoReflect ¶
func (x *GetAccountsResponse_Account) ProtoReflect() protoreflect.Message
func (*GetAccountsResponse_Account) Reset ¶
func (x *GetAccountsResponse_Account) Reset()
func (*GetAccountsResponse_Account) String ¶
func (x *GetAccountsResponse_Account) String() string
type GetCardsRequest ¶
type GetCardsRequest struct { AccountId int64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
GetCards
func (*GetCardsRequest) Descriptor
deprecated
func (*GetCardsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCardsRequest.ProtoReflect.Descriptor instead.
func (*GetCardsRequest) GetAccountId ¶
func (x *GetCardsRequest) GetAccountId() int64
func (*GetCardsRequest) ProtoMessage ¶
func (*GetCardsRequest) ProtoMessage()
func (*GetCardsRequest) ProtoReflect ¶
func (x *GetCardsRequest) ProtoReflect() protoreflect.Message
func (*GetCardsRequest) Reset ¶
func (x *GetCardsRequest) Reset()
func (*GetCardsRequest) String ¶
func (x *GetCardsRequest) String() string
type GetCardsResponse ¶
type GetCardsResponse struct { Cards []*GetCardsResponse_Card `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"` // contains filtered or unexported fields }
func (*GetCardsResponse) Descriptor
deprecated
func (*GetCardsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCardsResponse.ProtoReflect.Descriptor instead.
func (*GetCardsResponse) GetCards ¶
func (x *GetCardsResponse) GetCards() []*GetCardsResponse_Card
func (*GetCardsResponse) ProtoMessage ¶
func (*GetCardsResponse) ProtoMessage()
func (*GetCardsResponse) ProtoReflect ¶
func (x *GetCardsResponse) ProtoReflect() protoreflect.Message
func (*GetCardsResponse) Reset ¶
func (x *GetCardsResponse) Reset()
func (*GetCardsResponse) String ¶
func (x *GetCardsResponse) String() string
type GetCardsResponse_Card ¶
type GetCardsResponse_Card struct { Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` // 16 digits number // contains filtered or unexported fields }
func (*GetCardsResponse_Card) Descriptor
deprecated
func (*GetCardsResponse_Card) Descriptor() ([]byte, []int)
Deprecated: Use GetCardsResponse_Card.ProtoReflect.Descriptor instead.
func (*GetCardsResponse_Card) GetNumber ¶
func (x *GetCardsResponse_Card) GetNumber() string
func (*GetCardsResponse_Card) ProtoMessage ¶
func (*GetCardsResponse_Card) ProtoMessage()
func (*GetCardsResponse_Card) ProtoReflect ¶
func (x *GetCardsResponse_Card) ProtoReflect() protoreflect.Message
func (*GetCardsResponse_Card) Reset ¶
func (x *GetCardsResponse_Card) Reset()
func (*GetCardsResponse_Card) String ¶
func (x *GetCardsResponse_Card) String() string
type GetTransactionHistoryRequest ¶
type GetTransactionHistoryRequest struct { AccountId int64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` MinAmount *float64 `protobuf:"fixed64,4,opt,name=min_amount,json=minAmount,proto3,oneof" json:"min_amount,omitempty"` MaxAmount *float64 `protobuf:"fixed64,5,opt,name=max_amount,json=maxAmount,proto3,oneof" json:"max_amount,omitempty"` TransactionType *TransactionType `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
GetTransactionHistory
func (*GetTransactionHistoryRequest) Descriptor
deprecated
func (*GetTransactionHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionHistoryRequest) GetAccountId ¶
func (x *GetTransactionHistoryRequest) GetAccountId() int64
func (*GetTransactionHistoryRequest) GetLimit ¶
func (x *GetTransactionHistoryRequest) GetLimit() int32
func (*GetTransactionHistoryRequest) GetMaxAmount ¶
func (x *GetTransactionHistoryRequest) GetMaxAmount() float64
func (*GetTransactionHistoryRequest) GetMinAmount ¶
func (x *GetTransactionHistoryRequest) GetMinAmount() float64
func (*GetTransactionHistoryRequest) GetOffset ¶
func (x *GetTransactionHistoryRequest) GetOffset() int32
func (*GetTransactionHistoryRequest) GetTransactionType ¶
func (x *GetTransactionHistoryRequest) GetTransactionType() TransactionType
func (*GetTransactionHistoryRequest) ProtoMessage ¶
func (*GetTransactionHistoryRequest) ProtoMessage()
func (*GetTransactionHistoryRequest) ProtoReflect ¶
func (x *GetTransactionHistoryRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionHistoryRequest) Reset ¶
func (x *GetTransactionHistoryRequest) Reset()
func (*GetTransactionHistoryRequest) String ¶
func (x *GetTransactionHistoryRequest) String() string
type GetTransactionHistoryResponse ¶
type GetTransactionHistoryResponse struct { Transactions []*GetTransactionHistoryResponse_Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionHistoryResponse) Descriptor
deprecated
func (*GetTransactionHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionHistoryResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionHistoryResponse) GetTransactions ¶
func (x *GetTransactionHistoryResponse) GetTransactions() []*GetTransactionHistoryResponse_Transaction
func (*GetTransactionHistoryResponse) ProtoMessage ¶
func (*GetTransactionHistoryResponse) ProtoMessage()
func (*GetTransactionHistoryResponse) ProtoReflect ¶
func (x *GetTransactionHistoryResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionHistoryResponse) Reset ¶
func (x *GetTransactionHistoryResponse) Reset()
func (*GetTransactionHistoryResponse) String ¶
func (x *GetTransactionHistoryResponse) String() string
type GetTransactionHistoryResponse_Transaction ¶
type GetTransactionHistoryResponse_Transaction struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // uuid Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"` Type TransactionType `protobuf:"varint,3,opt,name=type,proto3,enum=pb.TransactionType" json:"type,omitempty"` SenderName string `protobuf:"bytes,4,opt,name=sender_name,json=senderName,proto3" json:"sender_name,omitempty"` // On withdraw "ATM", on deposit "" RecipientName string `protobuf:"bytes,5,opt,name=recipient_name,json=recipientName,proto3" json:"recipient_name,omitempty"` // On withdraw "", on deposit "ATM" CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` IsRolledBack bool `protobuf:"varint,7,opt,name=is_rolled_back,json=isRolledBack,proto3" json:"is_rolled_back,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionHistoryResponse_Transaction) Descriptor
deprecated
func (*GetTransactionHistoryResponse_Transaction) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionHistoryResponse_Transaction.ProtoReflect.Descriptor instead.
func (*GetTransactionHistoryResponse_Transaction) GetAmount ¶
func (x *GetTransactionHistoryResponse_Transaction) GetAmount() float64
func (*GetTransactionHistoryResponse_Transaction) GetCreatedAt ¶
func (x *GetTransactionHistoryResponse_Transaction) GetCreatedAt() *timestamppb.Timestamp
func (*GetTransactionHistoryResponse_Transaction) GetId ¶
func (x *GetTransactionHistoryResponse_Transaction) GetId() string
func (*GetTransactionHistoryResponse_Transaction) GetIsRolledBack ¶
func (x *GetTransactionHistoryResponse_Transaction) GetIsRolledBack() bool
func (*GetTransactionHistoryResponse_Transaction) GetRecipientName ¶
func (x *GetTransactionHistoryResponse_Transaction) GetRecipientName() string
func (*GetTransactionHistoryResponse_Transaction) GetSenderName ¶
func (x *GetTransactionHistoryResponse_Transaction) GetSenderName() string
func (*GetTransactionHistoryResponse_Transaction) GetType ¶
func (x *GetTransactionHistoryResponse_Transaction) GetType() TransactionType
func (*GetTransactionHistoryResponse_Transaction) ProtoMessage ¶
func (*GetTransactionHistoryResponse_Transaction) ProtoMessage()
func (*GetTransactionHistoryResponse_Transaction) ProtoReflect ¶
func (x *GetTransactionHistoryResponse_Transaction) ProtoReflect() protoreflect.Message
func (*GetTransactionHistoryResponse_Transaction) Reset ¶
func (x *GetTransactionHistoryResponse_Transaction) Reset()
func (*GetTransactionHistoryResponse_Transaction) String ¶
func (x *GetTransactionHistoryResponse_Transaction) String() string
type GetUserByUsernameRequest ¶
type GetUserByUsernameRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
GetUserByUsername
func (*GetUserByUsernameRequest) Descriptor
deprecated
func (*GetUserByUsernameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByUsernameRequest.ProtoReflect.Descriptor instead.
func (*GetUserByUsernameRequest) GetUsername ¶
func (x *GetUserByUsernameRequest) GetUsername() string
func (*GetUserByUsernameRequest) ProtoMessage ¶
func (*GetUserByUsernameRequest) ProtoMessage()
func (*GetUserByUsernameRequest) ProtoReflect ¶
func (x *GetUserByUsernameRequest) ProtoReflect() protoreflect.Message
func (*GetUserByUsernameRequest) Reset ¶
func (x *GetUserByUsernameRequest) Reset()
func (*GetUserByUsernameRequest) String ¶
func (x *GetUserByUsernameRequest) String() string
type GetUserByUsernameResponse ¶
type GetUserByUsernameResponse struct { UsersInto []*GetUserByUsernameResponse_UserInfo `protobuf:"bytes,1,rep,name=users_into,json=usersInto,proto3" json:"users_into,omitempty"` // contains filtered or unexported fields }
func (*GetUserByUsernameResponse) Descriptor
deprecated
func (*GetUserByUsernameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByUsernameResponse.ProtoReflect.Descriptor instead.
func (*GetUserByUsernameResponse) GetUsersInto ¶
func (x *GetUserByUsernameResponse) GetUsersInto() []*GetUserByUsernameResponse_UserInfo
func (*GetUserByUsernameResponse) ProtoMessage ¶
func (*GetUserByUsernameResponse) ProtoMessage()
func (*GetUserByUsernameResponse) ProtoReflect ¶
func (x *GetUserByUsernameResponse) ProtoReflect() protoreflect.Message
func (*GetUserByUsernameResponse) Reset ¶
func (x *GetUserByUsernameResponse) Reset()
func (*GetUserByUsernameResponse) String ¶
func (x *GetUserByUsernameResponse) String() string
type GetUserByUsernameResponse_UserInfo ¶
type GetUserByUsernameResponse_UserInfo struct { FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*GetUserByUsernameResponse_UserInfo) Descriptor
deprecated
func (*GetUserByUsernameResponse_UserInfo) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByUsernameResponse_UserInfo.ProtoReflect.Descriptor instead.
func (*GetUserByUsernameResponse_UserInfo) GetEmail ¶
func (x *GetUserByUsernameResponse_UserInfo) GetEmail() string
func (*GetUserByUsernameResponse_UserInfo) GetFirstName ¶
func (x *GetUserByUsernameResponse_UserInfo) GetFirstName() string
func (*GetUserByUsernameResponse_UserInfo) GetLastName ¶
func (x *GetUserByUsernameResponse_UserInfo) GetLastName() string
func (*GetUserByUsernameResponse_UserInfo) GetUsername ¶
func (x *GetUserByUsernameResponse_UserInfo) GetUsername() string
func (*GetUserByUsernameResponse_UserInfo) ProtoMessage ¶
func (*GetUserByUsernameResponse_UserInfo) ProtoMessage()
func (*GetUserByUsernameResponse_UserInfo) ProtoReflect ¶
func (x *GetUserByUsernameResponse_UserInfo) ProtoReflect() protoreflect.Message
func (*GetUserByUsernameResponse_UserInfo) Reset ¶
func (x *GetUserByUsernameResponse_UserInfo) Reset()
func (*GetUserByUsernameResponse_UserInfo) String ¶
func (x *GetUserByUsernameResponse_UserInfo) String() string
type GetUserDevicesRequest ¶
type GetUserDevicesRequest struct {
// contains filtered or unexported fields
}
GetUserDevices
func (*GetUserDevicesRequest) Descriptor
deprecated
func (*GetUserDevicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserDevicesRequest.ProtoReflect.Descriptor instead.
func (*GetUserDevicesRequest) ProtoMessage ¶
func (*GetUserDevicesRequest) ProtoMessage()
func (*GetUserDevicesRequest) ProtoReflect ¶
func (x *GetUserDevicesRequest) ProtoReflect() protoreflect.Message
func (*GetUserDevicesRequest) Reset ¶
func (x *GetUserDevicesRequest) Reset()
func (*GetUserDevicesRequest) String ¶
func (x *GetUserDevicesRequest) String() string
type GetUserDevicesResponse ¶
type GetUserDevicesResponse struct { DevicesSessions []*Session `protobuf:"bytes,1,rep,name=devices_sessions,json=devicesSessions,proto3" json:"devices_sessions,omitempty"` // contains filtered or unexported fields }
func (*GetUserDevicesResponse) Descriptor
deprecated
func (*GetUserDevicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserDevicesResponse.ProtoReflect.Descriptor instead.
func (*GetUserDevicesResponse) GetDevicesSessions ¶
func (x *GetUserDevicesResponse) GetDevicesSessions() []*Session
func (*GetUserDevicesResponse) ProtoMessage ¶
func (*GetUserDevicesResponse) ProtoMessage()
func (*GetUserDevicesResponse) ProtoReflect ¶
func (x *GetUserDevicesResponse) ProtoReflect() protoreflect.Message
func (*GetUserDevicesResponse) Reset ¶
func (x *GetUserDevicesResponse) Reset()
func (*GetUserDevicesResponse) String ¶
func (x *GetUserDevicesResponse) String() string
type GetWalletsRequest ¶
type GetWalletsRequest struct {
// contains filtered or unexported fields
}
GetWallets
func (*GetWalletsRequest) Descriptor
deprecated
func (*GetWalletsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWalletsRequest.ProtoReflect.Descriptor instead.
func (*GetWalletsRequest) ProtoMessage ¶
func (*GetWalletsRequest) ProtoMessage()
func (*GetWalletsRequest) ProtoReflect ¶
func (x *GetWalletsRequest) ProtoReflect() protoreflect.Message
func (*GetWalletsRequest) Reset ¶
func (x *GetWalletsRequest) Reset()
func (*GetWalletsRequest) String ¶
func (x *GetWalletsRequest) String() string
type GetWalletsResponse ¶
type GetWalletsResponse struct { Wallets []*GetWalletsResponse_Wallet `protobuf:"bytes,1,rep,name=wallets,proto3" json:"wallets,omitempty"` // contains filtered or unexported fields }
func (*GetWalletsResponse) Descriptor
deprecated
func (*GetWalletsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWalletsResponse.ProtoReflect.Descriptor instead.
func (*GetWalletsResponse) GetWallets ¶
func (x *GetWalletsResponse) GetWallets() []*GetWalletsResponse_Wallet
func (*GetWalletsResponse) ProtoMessage ¶
func (*GetWalletsResponse) ProtoMessage()
func (*GetWalletsResponse) ProtoReflect ¶
func (x *GetWalletsResponse) ProtoReflect() protoreflect.Message
func (*GetWalletsResponse) Reset ¶
func (x *GetWalletsResponse) Reset()
func (*GetWalletsResponse) String ¶
func (x *GetWalletsResponse) String() string
type GetWalletsResponse_Wallet ¶
type GetWalletsResponse_Wallet struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Balance float64 `protobuf:"fixed64,3,opt,name=balance,proto3" json:"balance,omitempty"` Currency Currency `protobuf:"varint,4,opt,name=currency,proto3,enum=pb.Currency" json:"currency,omitempty"` // contains filtered or unexported fields }
func (*GetWalletsResponse_Wallet) Descriptor
deprecated
func (*GetWalletsResponse_Wallet) Descriptor() ([]byte, []int)
Deprecated: Use GetWalletsResponse_Wallet.ProtoReflect.Descriptor instead.
func (*GetWalletsResponse_Wallet) GetBalance ¶
func (x *GetWalletsResponse_Wallet) GetBalance() float64
func (*GetWalletsResponse_Wallet) GetCurrency ¶
func (x *GetWalletsResponse_Wallet) GetCurrency() Currency
func (*GetWalletsResponse_Wallet) GetId ¶
func (x *GetWalletsResponse_Wallet) GetId() int32
func (*GetWalletsResponse_Wallet) GetName ¶
func (x *GetWalletsResponse_Wallet) GetName() string
func (*GetWalletsResponse_Wallet) ProtoMessage ¶
func (*GetWalletsResponse_Wallet) ProtoMessage()
func (*GetWalletsResponse_Wallet) ProtoReflect ¶
func (x *GetWalletsResponse_Wallet) ProtoReflect() protoreflect.Message
func (*GetWalletsResponse_Wallet) Reset ¶
func (x *GetWalletsResponse_Wallet) Reset()
func (*GetWalletsResponse_Wallet) String ¶
func (x *GetWalletsResponse_Wallet) String() string
type LogoutRequest ¶
type LogoutRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
Logout
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) GetSessionId ¶
func (x *LogoutRequest) GetSessionId() string
func (*LogoutRequest) ProtoMessage ¶
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) ProtoReflect ¶
func (x *LogoutRequest) ProtoReflect() protoreflect.Message
func (*LogoutRequest) Reset ¶
func (x *LogoutRequest) Reset()
func (*LogoutRequest) String ¶
func (x *LogoutRequest) String() string
type LogoutResponse ¶
type LogoutResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*LogoutResponse) Descriptor
deprecated
func (*LogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
func (*LogoutResponse) GetSuccess ¶
func (x *LogoutResponse) GetSuccess() bool
func (*LogoutResponse) ProtoMessage ¶
func (*LogoutResponse) ProtoMessage()
func (*LogoutResponse) ProtoReflect ¶
func (x *LogoutResponse) ProtoReflect() protoreflect.Message
func (*LogoutResponse) Reset ¶
func (x *LogoutResponse) Reset()
func (*LogoutResponse) String ¶
func (x *LogoutResponse) String() string
type RenewAccessTokenRequest ¶
type RenewAccessTokenRequest struct { RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
RenewAccessToken
func (*RenewAccessTokenRequest) Descriptor
deprecated
func (*RenewAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenewAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*RenewAccessTokenRequest) GetRefreshToken ¶
func (x *RenewAccessTokenRequest) GetRefreshToken() string
func (*RenewAccessTokenRequest) ProtoMessage ¶
func (*RenewAccessTokenRequest) ProtoMessage()
func (*RenewAccessTokenRequest) ProtoReflect ¶
func (x *RenewAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*RenewAccessTokenRequest) Reset ¶
func (x *RenewAccessTokenRequest) Reset()
func (*RenewAccessTokenRequest) String ¶
func (x *RenewAccessTokenRequest) String() string
type RenewAccessTokenResponse ¶
type RenewAccessTokenResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*RenewAccessTokenResponse) Descriptor
deprecated
func (*RenewAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenewAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*RenewAccessTokenResponse) GetAccessToken ¶
func (x *RenewAccessTokenResponse) GetAccessToken() string
func (*RenewAccessTokenResponse) GetRefreshToken ¶
func (x *RenewAccessTokenResponse) GetRefreshToken() string
func (*RenewAccessTokenResponse) ProtoMessage ¶
func (*RenewAccessTokenResponse) ProtoMessage()
func (*RenewAccessTokenResponse) ProtoReflect ¶
func (x *RenewAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*RenewAccessTokenResponse) Reset ¶
func (x *RenewAccessTokenResponse) Reset()
func (*RenewAccessTokenResponse) String ¶
func (x *RenewAccessTokenResponse) String() string
type Session ¶
type Session struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // session_id (uuid) UserDevice *Session_UserDevice `protobuf:"bytes,2,opt,name=user_device,json=userDevice,proto3" json:"user_device,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*Session) Descriptor
deprecated
func (*Session) GetExpiresAt ¶
func (x *Session) GetExpiresAt() *timestamppb.Timestamp
func (*Session) GetUpdatedAt ¶
func (x *Session) GetUpdatedAt() *timestamppb.Timestamp
func (*Session) GetUserDevice ¶
func (x *Session) GetUserDevice() *Session_UserDevice
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type Session_UserDevice ¶
type Session_UserDevice struct { ClientIp string `protobuf:"bytes,1,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` UserAgent string `protobuf:"bytes,2,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // contains filtered or unexported fields }
func (*Session_UserDevice) Descriptor
deprecated
func (*Session_UserDevice) Descriptor() ([]byte, []int)
Deprecated: Use Session_UserDevice.ProtoReflect.Descriptor instead.
func (*Session_UserDevice) GetClientIp ¶
func (x *Session_UserDevice) GetClientIp() string
func (*Session_UserDevice) GetUserAgent ¶
func (x *Session_UserDevice) GetUserAgent() string
func (*Session_UserDevice) ProtoMessage ¶
func (*Session_UserDevice) ProtoMessage()
func (*Session_UserDevice) ProtoReflect ¶
func (x *Session_UserDevice) ProtoReflect() protoreflect.Message
func (*Session_UserDevice) Reset ¶
func (x *Session_UserDevice) Reset()
func (*Session_UserDevice) String ¶
func (x *Session_UserDevice) String() string
type SigninRequest ¶
type SigninRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
Signin
func (*SigninRequest) Descriptor
deprecated
func (*SigninRequest) Descriptor() ([]byte, []int)
Deprecated: Use SigninRequest.ProtoReflect.Descriptor instead.
func (*SigninRequest) GetEmail ¶
func (x *SigninRequest) GetEmail() string
func (*SigninRequest) GetPassword ¶
func (x *SigninRequest) GetPassword() string
func (*SigninRequest) ProtoMessage ¶
func (*SigninRequest) ProtoMessage()
func (*SigninRequest) ProtoReflect ¶
func (x *SigninRequest) ProtoReflect() protoreflect.Message
func (*SigninRequest) Reset ¶
func (x *SigninRequest) Reset()
func (*SigninRequest) String ¶
func (x *SigninRequest) String() string
type SigninResponse ¶
type SigninResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"` // contains filtered or unexported fields }
func (*SigninResponse) Descriptor
deprecated
func (*SigninResponse) Descriptor() ([]byte, []int)
Deprecated: Use SigninResponse.ProtoReflect.Descriptor instead.
func (*SigninResponse) GetAccessToken ¶
func (x *SigninResponse) GetAccessToken() string
func (*SigninResponse) GetRefreshToken ¶
func (x *SigninResponse) GetRefreshToken() string
func (*SigninResponse) ProtoMessage ¶
func (*SigninResponse) ProtoMessage()
func (*SigninResponse) ProtoReflect ¶
func (x *SigninResponse) ProtoReflect() protoreflect.Message
func (*SigninResponse) Reset ¶
func (x *SigninResponse) Reset()
func (*SigninResponse) String ¶
func (x *SigninResponse) String() string
type SignupRequest ¶
type SignupRequest struct { FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
Signup
func (*SignupRequest) Descriptor
deprecated
func (*SignupRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignupRequest.ProtoReflect.Descriptor instead.
func (*SignupRequest) GetEmail ¶
func (x *SignupRequest) GetEmail() string
func (*SignupRequest) GetFirstName ¶
func (x *SignupRequest) GetFirstName() string
func (*SignupRequest) GetLastName ¶
func (x *SignupRequest) GetLastName() string
func (*SignupRequest) GetPassword ¶
func (x *SignupRequest) GetPassword() string
func (*SignupRequest) GetUsername ¶
func (x *SignupRequest) GetUsername() string
func (*SignupRequest) ProtoMessage ¶
func (*SignupRequest) ProtoMessage()
func (*SignupRequest) ProtoReflect ¶
func (x *SignupRequest) ProtoReflect() protoreflect.Message
func (*SignupRequest) Reset ¶
func (x *SignupRequest) Reset()
func (*SignupRequest) String ¶
func (x *SignupRequest) String() string
type SignupResponse ¶
type SignupResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*SignupResponse) Descriptor
deprecated
func (*SignupResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignupResponse.ProtoReflect.Descriptor instead.
func (*SignupResponse) GetSuccess ¶
func (x *SignupResponse) GetSuccess() bool
func (*SignupResponse) ProtoMessage ¶
func (*SignupResponse) ProtoMessage()
func (*SignupResponse) ProtoReflect ¶
func (x *SignupResponse) ProtoReflect() protoreflect.Message
func (*SignupResponse) Reset ¶
func (x *SignupResponse) Reset()
func (*SignupResponse) String ¶
func (x *SignupResponse) String() string
type TokenServiceClient ¶
type TokenServiceClient interface {
ValidateToken(ctx context.Context, in *ValidateTokenRequest, opts ...grpc.CallOption) (*ValidateTokenResponse, error)
}
TokenServiceClient is the client API for TokenService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTokenServiceClient ¶
func NewTokenServiceClient(cc grpc.ClientConnInterface) TokenServiceClient
type TokenServiceServer ¶
type TokenServiceServer interface { ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error) // contains filtered or unexported methods }
TokenServiceServer is the server API for TokenService service. All implementations must embed UnimplementedTokenServiceServer for forward compatibility
type TransactionType ¶
type TransactionType int32
const ( TransactionType_UNKNOWN TransactionType = 0 TransactionType_DEPOSIT TransactionType = 1 TransactionType_WITHDRAWAL TransactionType = 2 TransactionType_TRANSFER TransactionType = 3 )
func (TransactionType) Descriptor ¶
func (TransactionType) Descriptor() protoreflect.EnumDescriptor
func (TransactionType) Enum ¶
func (x TransactionType) Enum() *TransactionType
func (TransactionType) EnumDescriptor
deprecated
func (TransactionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionType.Descriptor instead.
func (TransactionType) Number ¶
func (x TransactionType) Number() protoreflect.EnumNumber
func (TransactionType) String ¶
func (x TransactionType) String() string
func (TransactionType) Type ¶
func (TransactionType) Type() protoreflect.EnumType
type TransferRollbackRequest ¶
type TransferRollbackRequest struct { TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // contains filtered or unexported fields }
TransferRollback
func (*TransferRollbackRequest) Descriptor
deprecated
func (*TransferRollbackRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferRollbackRequest.ProtoReflect.Descriptor instead.
func (*TransferRollbackRequest) GetTransactionId ¶
func (x *TransferRollbackRequest) GetTransactionId() string
func (*TransferRollbackRequest) ProtoMessage ¶
func (*TransferRollbackRequest) ProtoMessage()
func (*TransferRollbackRequest) ProtoReflect ¶
func (x *TransferRollbackRequest) ProtoReflect() protoreflect.Message
func (*TransferRollbackRequest) Reset ¶
func (x *TransferRollbackRequest) Reset()
func (*TransferRollbackRequest) String ¶
func (x *TransferRollbackRequest) String() string
type TransferRollbackResponse ¶
type TransferRollbackResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // balance after rollback // contains filtered or unexported fields }
func (*TransferRollbackResponse) Descriptor
deprecated
func (*TransferRollbackResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransferRollbackResponse.ProtoReflect.Descriptor instead.
func (*TransferRollbackResponse) GetSuccess ¶
func (x *TransferRollbackResponse) GetSuccess() bool
func (*TransferRollbackResponse) ProtoMessage ¶
func (*TransferRollbackResponse) ProtoMessage()
func (*TransferRollbackResponse) ProtoReflect ¶
func (x *TransferRollbackResponse) ProtoReflect() protoreflect.Message
func (*TransferRollbackResponse) Reset ¶
func (x *TransferRollbackResponse) Reset()
func (*TransferRollbackResponse) String ¶
func (x *TransferRollbackResponse) String() string
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) GetUserDevices ¶
func (UnimplementedAuthServiceServer) GetUserDevices(context.Context, *GetUserDevicesRequest) (*GetUserDevicesResponse, error)
func (UnimplementedAuthServiceServer) Logout ¶
func (UnimplementedAuthServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
func (UnimplementedAuthServiceServer) RenewAccessToken ¶
func (UnimplementedAuthServiceServer) RenewAccessToken(context.Context, *RenewAccessTokenRequest) (*RenewAccessTokenResponse, error)
func (UnimplementedAuthServiceServer) Signin ¶
func (UnimplementedAuthServiceServer) Signin(context.Context, *SigninRequest) (*SigninResponse, error)
func (UnimplementedAuthServiceServer) Signup ¶
func (UnimplementedAuthServiceServer) Signup(context.Context, *SignupRequest) (*SignupResponse, error)
type UnimplementedTokenServiceServer ¶
type UnimplementedTokenServiceServer struct { }
UnimplementedTokenServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTokenServiceServer) ValidateToken ¶
func (UnimplementedTokenServiceServer) ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) ChangeUserNames ¶
func (UnimplementedUserServiceServer) ChangeUserNames(context.Context, *ChangeUserNamesRequest) (*ChangeUserNamesResponse, error)
func (UnimplementedUserServiceServer) ChangeUserPassword ¶
func (UnimplementedUserServiceServer) ChangeUserPassword(context.Context, *ChangeUserPasswordRequest) (*ChangeUserPasswordResponse, error)
func (UnimplementedUserServiceServer) GetUserByUsername ¶
func (UnimplementedUserServiceServer) GetUserByUsername(*GetUserByUsernameRequest, UserService_GetUserByUsernameServer) error
func (UnimplementedUserServiceServer) UpdateResetUserPassword ¶
func (UnimplementedUserServiceServer) UpdateResetUserPassword(context.Context, *UpdateResetUserPasswordRequest) (*UpdateResetUserPasswordResponse, error)
func (UnimplementedUserServiceServer) UpdateUserEmail ¶
func (UnimplementedUserServiceServer) UpdateUserEmail(context.Context, *UpdateUserEmailRequest) (*UpdateUserEmailResponse, error)
func (UnimplementedUserServiceServer) VerifyUserEmail ¶
func (UnimplementedUserServiceServer) VerifyUserEmail(context.Context, *VerifyUserEmailRequest) (*VerifyUserEmailResponse, error)
func (UnimplementedUserServiceServer) VerifyUserPassword ¶
func (UnimplementedUserServiceServer) VerifyUserPassword(context.Context, *VerifyUserPasswordRequest) (*VerifyUserPasswordResponse, error)
type UnimplementedWalletServiceServer ¶
type UnimplementedWalletServiceServer struct { }
UnimplementedWalletServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWalletServiceServer) CreateAccount ¶
func (UnimplementedWalletServiceServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
func (UnimplementedWalletServiceServer) CreateCard ¶
func (UnimplementedWalletServiceServer) CreateCard(context.Context, *CreateCardRequest) (*CreateCardResponse, error)
func (UnimplementedWalletServiceServer) CreateTransaction ¶
func (UnimplementedWalletServiceServer) CreateTransaction(context.Context, *CreateTransactionRequest) (*CreateTransactionResponse, error)
func (UnimplementedWalletServiceServer) CreateWallet ¶
func (UnimplementedWalletServiceServer) CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error)
func (UnimplementedWalletServiceServer) DeleteAccount ¶
func (UnimplementedWalletServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error)
func (UnimplementedWalletServiceServer) DeleteCard ¶
func (UnimplementedWalletServiceServer) DeleteCard(context.Context, *DeleteCardRequest) (*DeleteCardResponse, error)
func (UnimplementedWalletServiceServer) GetAccounts ¶
func (UnimplementedWalletServiceServer) GetAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error)
func (UnimplementedWalletServiceServer) GetCards ¶
func (UnimplementedWalletServiceServer) GetCards(context.Context, *GetCardsRequest) (*GetCardsResponse, error)
func (UnimplementedWalletServiceServer) GetTransactionHistory ¶
func (UnimplementedWalletServiceServer) GetTransactionHistory(context.Context, *GetTransactionHistoryRequest) (*GetTransactionHistoryResponse, error)
func (UnimplementedWalletServiceServer) TransferRollback ¶
func (UnimplementedWalletServiceServer) TransferRollback(context.Context, *TransferRollbackRequest) (*TransferRollbackResponse, error)
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeTokenServiceServer ¶
type UnsafeTokenServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTokenServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TokenServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UnsafeWalletServiceServer ¶
type UnsafeWalletServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWalletServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletServiceServer will result in compilation errors.
type UpdateResetUserPasswordRequest ¶
type UpdateResetUserPasswordRequest struct {
// contains filtered or unexported fields
}
UpdateResetUserPassword
func (*UpdateResetUserPasswordRequest) Descriptor
deprecated
func (*UpdateResetUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResetUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdateResetUserPasswordRequest) ProtoMessage ¶
func (*UpdateResetUserPasswordRequest) ProtoMessage()
func (*UpdateResetUserPasswordRequest) ProtoReflect ¶
func (x *UpdateResetUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdateResetUserPasswordRequest) Reset ¶
func (x *UpdateResetUserPasswordRequest) Reset()
func (*UpdateResetUserPasswordRequest) String ¶
func (x *UpdateResetUserPasswordRequest) String() string
type UpdateResetUserPasswordResponse ¶
type UpdateResetUserPasswordResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*UpdateResetUserPasswordResponse) Descriptor
deprecated
func (*UpdateResetUserPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResetUserPasswordResponse.ProtoReflect.Descriptor instead.
func (*UpdateResetUserPasswordResponse) GetMessage ¶
func (x *UpdateResetUserPasswordResponse) GetMessage() string
func (*UpdateResetUserPasswordResponse) ProtoMessage ¶
func (*UpdateResetUserPasswordResponse) ProtoMessage()
func (*UpdateResetUserPasswordResponse) ProtoReflect ¶
func (x *UpdateResetUserPasswordResponse) ProtoReflect() protoreflect.Message
func (*UpdateResetUserPasswordResponse) Reset ¶
func (x *UpdateResetUserPasswordResponse) Reset()
func (*UpdateResetUserPasswordResponse) String ¶
func (x *UpdateResetUserPasswordResponse) String() string
type UpdateUserEmailRequest ¶
type UpdateUserEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
UpdateUserEmail
func (*UpdateUserEmailRequest) Descriptor
deprecated
func (*UpdateUserEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserEmailRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserEmailRequest) GetEmail ¶
func (x *UpdateUserEmailRequest) GetEmail() string
func (*UpdateUserEmailRequest) ProtoMessage ¶
func (*UpdateUserEmailRequest) ProtoMessage()
func (*UpdateUserEmailRequest) ProtoReflect ¶
func (x *UpdateUserEmailRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserEmailRequest) Reset ¶
func (x *UpdateUserEmailRequest) Reset()
func (*UpdateUserEmailRequest) String ¶
func (x *UpdateUserEmailRequest) String() string
type UpdateUserEmailResponse ¶
type UpdateUserEmailResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserEmailResponse) Descriptor
deprecated
func (*UpdateUserEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserEmailResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserEmailResponse) GetMessage ¶
func (x *UpdateUserEmailResponse) GetMessage() string
func (*UpdateUserEmailResponse) ProtoMessage ¶
func (*UpdateUserEmailResponse) ProtoMessage()
func (*UpdateUserEmailResponse) ProtoReflect ¶
func (x *UpdateUserEmailResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserEmailResponse) Reset ¶
func (x *UpdateUserEmailResponse) Reset()
func (*UpdateUserEmailResponse) String ¶
func (x *UpdateUserEmailResponse) String() string
type UserServiceClient ¶
type UserServiceClient interface { // User GetUserByUsername(ctx context.Context, in *GetUserByUsernameRequest, opts ...grpc.CallOption) (UserService_GetUserByUsernameClient, error) ChangeUserNames(ctx context.Context, in *ChangeUserNamesRequest, opts ...grpc.CallOption) (*ChangeUserNamesResponse, error) ChangeUserPassword(ctx context.Context, in *ChangeUserPasswordRequest, opts ...grpc.CallOption) (*ChangeUserPasswordResponse, error) // Change email, password (send confirmation code) UpdateUserEmail(ctx context.Context, in *UpdateUserEmailRequest, opts ...grpc.CallOption) (*UpdateUserEmailResponse, error) UpdateResetUserPassword(ctx context.Context, in *UpdateResetUserPasswordRequest, opts ...grpc.CallOption) (*UpdateResetUserPasswordResponse, error) // Verify email, password (Update email, password in DB) VerifyUserEmail(ctx context.Context, in *VerifyUserEmailRequest, opts ...grpc.CallOption) (*VerifyUserEmailResponse, error) VerifyUserPassword(ctx context.Context, in *VerifyUserPasswordRequest, opts ...grpc.CallOption) (*VerifyUserPasswordResponse, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { // User GetUserByUsername(*GetUserByUsernameRequest, UserService_GetUserByUsernameServer) error ChangeUserNames(context.Context, *ChangeUserNamesRequest) (*ChangeUserNamesResponse, error) ChangeUserPassword(context.Context, *ChangeUserPasswordRequest) (*ChangeUserPasswordResponse, error) // Change email, password (send confirmation code) UpdateUserEmail(context.Context, *UpdateUserEmailRequest) (*UpdateUserEmailResponse, error) UpdateResetUserPassword(context.Context, *UpdateResetUserPasswordRequest) (*UpdateResetUserPasswordResponse, error) // Verify email, password (Update email, password in DB) VerifyUserEmail(context.Context, *VerifyUserEmailRequest) (*VerifyUserEmailResponse, error) VerifyUserPassword(context.Context, *VerifyUserPasswordRequest) (*VerifyUserPasswordResponse, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type UserService_GetUserByUsernameClient ¶
type UserService_GetUserByUsernameClient interface { Recv() (*GetUserByUsernameResponse, error) grpc.ClientStream }
type UserService_GetUserByUsernameServer ¶
type UserService_GetUserByUsernameServer interface { Send(*GetUserByUsernameResponse) error grpc.ServerStream }
type ValidateTokenRequest ¶
type ValidateTokenRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
ValidateTokenRequest
func (*ValidateTokenRequest) Descriptor
deprecated
func (*ValidateTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateTokenRequest.ProtoReflect.Descriptor instead.
func (*ValidateTokenRequest) GetAccessToken ¶
func (x *ValidateTokenRequest) GetAccessToken() string
func (*ValidateTokenRequest) ProtoMessage ¶
func (*ValidateTokenRequest) ProtoMessage()
func (*ValidateTokenRequest) ProtoReflect ¶
func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message
func (*ValidateTokenRequest) Reset ¶
func (x *ValidateTokenRequest) Reset()
func (*ValidateTokenRequest) String ¶
func (x *ValidateTokenRequest) String() string
type ValidateTokenResponse ¶
type ValidateTokenResponse struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // user-id (uuid) // contains filtered or unexported fields }
func (*ValidateTokenResponse) Descriptor
deprecated
func (*ValidateTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateTokenResponse.ProtoReflect.Descriptor instead.
func (*ValidateTokenResponse) GetUserId ¶
func (x *ValidateTokenResponse) GetUserId() string
func (*ValidateTokenResponse) ProtoMessage ¶
func (*ValidateTokenResponse) ProtoMessage()
func (*ValidateTokenResponse) ProtoReflect ¶
func (x *ValidateTokenResponse) ProtoReflect() protoreflect.Message
func (*ValidateTokenResponse) Reset ¶
func (x *ValidateTokenResponse) Reset()
func (*ValidateTokenResponse) String ¶
func (x *ValidateTokenResponse) String() string
type VerifyUserEmailRequest ¶
type VerifyUserEmailRequest struct { ConfirmationCode string `protobuf:"bytes,1,opt,name=confirmation_code,json=confirmationCode,proto3" json:"confirmation_code,omitempty"` // contains filtered or unexported fields }
Verify change user email
func (*VerifyUserEmailRequest) Descriptor
deprecated
func (*VerifyUserEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyUserEmailRequest.ProtoReflect.Descriptor instead.
func (*VerifyUserEmailRequest) GetConfirmationCode ¶
func (x *VerifyUserEmailRequest) GetConfirmationCode() string
func (*VerifyUserEmailRequest) ProtoMessage ¶
func (*VerifyUserEmailRequest) ProtoMessage()
func (*VerifyUserEmailRequest) ProtoReflect ¶
func (x *VerifyUserEmailRequest) ProtoReflect() protoreflect.Message
func (*VerifyUserEmailRequest) Reset ¶
func (x *VerifyUserEmailRequest) Reset()
func (*VerifyUserEmailRequest) String ¶
func (x *VerifyUserEmailRequest) String() string
type VerifyUserEmailResponse ¶
type VerifyUserEmailResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*VerifyUserEmailResponse) Descriptor
deprecated
func (*VerifyUserEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyUserEmailResponse.ProtoReflect.Descriptor instead.
func (*VerifyUserEmailResponse) GetMessage ¶
func (x *VerifyUserEmailResponse) GetMessage() string
func (*VerifyUserEmailResponse) ProtoMessage ¶
func (*VerifyUserEmailResponse) ProtoMessage()
func (*VerifyUserEmailResponse) ProtoReflect ¶
func (x *VerifyUserEmailResponse) ProtoReflect() protoreflect.Message
func (*VerifyUserEmailResponse) Reset ¶
func (x *VerifyUserEmailResponse) Reset()
func (*VerifyUserEmailResponse) String ¶
func (x *VerifyUserEmailResponse) String() string
type VerifyUserPasswordRequest ¶
type VerifyUserPasswordRequest struct { ConfirmationCode string `protobuf:"bytes,1,opt,name=confirmation_code,json=confirmationCode,proto3" json:"confirmation_code,omitempty"` NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // contains filtered or unexported fields }
Verify reset user password
func (*VerifyUserPasswordRequest) Descriptor
deprecated
func (*VerifyUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*VerifyUserPasswordRequest) GetConfirmationCode ¶
func (x *VerifyUserPasswordRequest) GetConfirmationCode() string
func (*VerifyUserPasswordRequest) GetNewPassword ¶
func (x *VerifyUserPasswordRequest) GetNewPassword() string
func (*VerifyUserPasswordRequest) ProtoMessage ¶
func (*VerifyUserPasswordRequest) ProtoMessage()
func (*VerifyUserPasswordRequest) ProtoReflect ¶
func (x *VerifyUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*VerifyUserPasswordRequest) Reset ¶
func (x *VerifyUserPasswordRequest) Reset()
func (*VerifyUserPasswordRequest) String ¶
func (x *VerifyUserPasswordRequest) String() string
type VerifyUserPasswordResponse ¶
type VerifyUserPasswordResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*VerifyUserPasswordResponse) Descriptor
deprecated
func (*VerifyUserPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyUserPasswordResponse.ProtoReflect.Descriptor instead.
func (*VerifyUserPasswordResponse) GetMessage ¶
func (x *VerifyUserPasswordResponse) GetMessage() string
func (*VerifyUserPasswordResponse) ProtoMessage ¶
func (*VerifyUserPasswordResponse) ProtoMessage()
func (*VerifyUserPasswordResponse) ProtoReflect ¶
func (x *VerifyUserPasswordResponse) ProtoReflect() protoreflect.Message
func (*VerifyUserPasswordResponse) Reset ¶
func (x *VerifyUserPasswordResponse) Reset()
func (*VerifyUserPasswordResponse) String ¶
func (x *VerifyUserPasswordResponse) String() string
type WalletServiceClient ¶
type WalletServiceClient interface { // User CreateWallet(ctx context.Context, in *CreateWalletRequest, opts ...grpc.CallOption) (*CreateWalletResponse, error) // Account CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error) GetAccounts(ctx context.Context, in *GetAccountsRequest, opts ...grpc.CallOption) (*GetAccountsResponse, error) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*DeleteAccountResponse, error) // Card CreateCard(ctx context.Context, in *CreateCardRequest, opts ...grpc.CallOption) (*CreateCardResponse, error) GetCards(ctx context.Context, in *GetCardsRequest, opts ...grpc.CallOption) (*GetCardsResponse, error) DeleteCard(ctx context.Context, in *DeleteCardRequest, opts ...grpc.CallOption) (*DeleteCardResponse, error) // Transfer CreateTransaction(ctx context.Context, in *CreateTransactionRequest, opts ...grpc.CallOption) (*CreateTransactionResponse, error) TransferRollback(ctx context.Context, in *TransferRollbackRequest, opts ...grpc.CallOption) (*TransferRollbackResponse, error) // History GetTransactionHistory(ctx context.Context, in *GetTransactionHistoryRequest, opts ...grpc.CallOption) (*GetTransactionHistoryResponse, error) }
WalletServiceClient is the client API for WalletService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWalletServiceClient ¶
func NewWalletServiceClient(cc grpc.ClientConnInterface) WalletServiceClient
type WalletServiceServer ¶
type WalletServiceServer interface { // User CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error) // Account CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error) GetAccounts(context.Context, *GetAccountsRequest) (*GetAccountsResponse, error) DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error) // Card CreateCard(context.Context, *CreateCardRequest) (*CreateCardResponse, error) GetCards(context.Context, *GetCardsRequest) (*GetCardsResponse, error) DeleteCard(context.Context, *DeleteCardRequest) (*DeleteCardResponse, error) // Transfer CreateTransaction(context.Context, *CreateTransactionRequest) (*CreateTransactionResponse, error) TransferRollback(context.Context, *TransferRollbackRequest) (*TransferRollbackResponse, error) // History GetTransactionHistory(context.Context, *GetTransactionHistoryRequest) (*GetTransactionHistoryResponse, error) // contains filtered or unexported methods }
WalletServiceServer is the server API for WalletService service. All implementations must embed UnimplementedWalletServiceServer for forward compatibility