Documentation ¶
Index ¶
- type Controller
- func (_m *Controller) Count(ctx context.Context, query *q.Query) (int64, error)
- func (_m *Controller) Create(ctx context.Context, r *robot.Robot) (int64, string, error)
- func (_m *Controller) Delete(ctx context.Context, id int64) error
- func (_m *Controller) Get(ctx context.Context, id int64, option *robot.Option) (*robot.Robot, error)
- func (_m *Controller) List(ctx context.Context, query *q.Query, option *robot.Option) ([]*robot.Robot, error)
- func (_m *Controller) Update(ctx context.Context, r *robot.Robot, option *robot.Option) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller is an autogenerated mock type for the Controller type
func (*Controller) Delete ¶
func (_m *Controller) Delete(ctx context.Context, id int64) error
Delete provides a mock function with given fields: ctx, id
func (*Controller) Get ¶
func (_m *Controller) Get(ctx context.Context, id int64, option *robot.Option) (*robot.Robot, error)
Get provides a mock function with given fields: ctx, id, option
Click to show internal directories.
Click to hide internal directories.