Documentation ¶
Index ¶
- type Account
- type Branch
- type Central
- func (c *Central) AddAccount(operationData string, response *bool) error
- func (c *Central) AddMoney(operationData string, response *bool) error
- func (c *Central) DeleteAccount(operationData string, response *bool) error
- func (c *Central) GetBalance(operationData string, response *int) error
- func (c *Central) ModifyAccount(operationData string, response *bool) error
- func (c *Central) StartServer(port string)
- func (c *Central) ValidateBranch(token string, response *bool) error
- func (c *Central) Withdrawals(operationData string, response *bool) error
- type Database
- type OperationData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Central ¶
type Central struct {
// contains filtered or unexported fields
}
func (*Central) AddAccount ¶
Método remoto para agregar una cuenta a la base de datos
func (*Central) DeleteAccount ¶
Método remoto para eliminar una cuenta
func (*Central) GetBalance ¶
Método remoto para obtener el monto de la cuenta de un usuario
func (*Central) ModifyAccount ¶
Método remoto para modificar una cuenta
func (*Central) StartServer ¶
Método para inciar el servidor
func (*Central) ValidateBranch ¶
Método remoto para validar una sucursal que empieza operaciones
Click to show internal directories.
Click to hide internal directories.