package
Version:
v0.0.0-...-b1d2da9
Opens a new window with list of versions in this module.
Published: Aug 16, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LoginResponse struct {
Token string `json:"token"`
}
type RegisterResponse struct {
ID uint32 `json:"id"`
AccountNumber string `json:"account_number"`
Name string `json:"name"`
Surname string `json:"surname"`
Email string `json:"email"`
Balance float64 `json:"balance"`
}
type TransferResponse struct {
Status bool `json:"status"`
Message string `json:"message"`
SenderBalance *float64 `json:"sender_balance,omitempty"`
ReceiverBalance *float64 `json:"receiver_balance,omitempty"`
Fee float64 `json:"fee,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.