Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Repository interface { // Backend CreateBackend(backend *model.Backend) (*model.Backend, error) DeleteBackend(id string) error UpdateBackend(backend *model.Backend) (*model.Backend, error) GetBackend(id string) (*model.Backend, error) ListBackend(limit, offset int, query interface{}) ([]*model.Backend, error) Close() }
var Repo Repository
Click to show internal directories.
Click to hide internal directories.