Documentation ¶
Index ¶
- type DB
- func (_m *DB) Create(accountID string, bin *models.Bin) error
- func (_m *DB) Delete(accountID string, ID string) (int, error)
- func (_m *DB) Destroy(accountID string) (int, error)
- func (_m *DB) Get(accountID string, ID string) (*models.Bin, error)
- func (_m *DB) GetAll(accountID string, opts *hooks_apimodels.QueryOpts) ([]*models.Bin, error)
- func (_m *DB) Update(accountID string, ID string, bin *models.Bin) (int, error)
- type Handler
- func (_m *Handler) Create(bin *models.Bin) (string, error)
- func (_m *Handler) Delete(accountID string, ID string) (int, error)
- func (_m *Handler) Destroy(accountID string) (int, error)
- func (_m *Handler) Get(accountID string, ID string) (*models.Bin, error)
- func (_m *Handler) GetAll(accountID string, opts *hooks_apimodels.QueryOpts) ([]*models.Bin, error)
- func (_m *Handler) Update(accountID string, ID string, bin *models.Bin) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB is an autogenerated mock type for the DB type
type Handler ¶
Handler is an autogenerated mock type for the Handler type
Click to show internal directories.
Click to hide internal directories.