Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { GetAccounts() ([]*model.Account, error) GetAccountsFromCustomer(int) ([]*model.Account, error) GetAccountByID(int) (*model.Account, error) CreateAccount(*model.Account) error DeleteAccount(int) error UpdateAccount(*model.Account) error GetCustomers() ([]*model.Customer, error) GetCustomerByEmail(string) (*model.Customer, error) GetCustomerByID(int) (*model.Customer, error) CreateCustomer(*model.Customer) error DeleteCustomer(int) error UpdateCustomer(*model.Customer) error }
Click to show internal directories.
Click to hide internal directories.