Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIServer ¶
type APIServer struct {
// contains filtered or unexported fields
}
func NewAPIServer ¶
type Account ¶
type Account struct { ID int `json:"id"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Number int64 `json:"number"` EncryptedPassword string `json:"-"` Balance int64 `json:"balance"` CreatedAt time.Time `json:"createdAt"` }
func NewAccount ¶
func (*Account) ValidPassword ¶
type CreateAccountRequest ¶
type LoginRequest ¶
type LoginResponse ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (Storage) CreateAccount ¶
func (Storage) DeleteAccount ¶
func (Storage) GetAccounts ¶
type TransferRequest ¶
Click to show internal directories.
Click to hide internal directories.