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