(client *model.Client)
| 11 | // The ClientDatabase interface for encapsulating database access. |
| 12 | type ClientDatabase interface { |
| 13 | CreateClient(client *model.Client) error |
| 14 | GetClientByToken(token string) (*model.Client, error) |
| 15 | GetClientByID(id uint) (*model.Client, error) |
| 16 | GetClientsByUser(userID uint) ([]*model.Client, error) |
no outgoing calls