Documentation ¶
Index ¶
- func NewV1() model_agent.IModelAgentV1
- type ControllerV1
- func (c *ControllerV1) BatchOperate(ctx context.Context, req *v1.BatchOperateReq) (res *v1.BatchOperateRes, err error)
- func (c *ControllerV1) ChangeStatus(ctx context.Context, req *v1.ChangeStatusReq) (res *v1.ChangeStatusRes, err error)
- func (c *ControllerV1) Create(ctx context.Context, req *v1.CreateReq) (res *v1.CreateRes, err error)
- func (c *ControllerV1) Delete(ctx context.Context, req *v1.DeleteReq) (res *v1.DeleteRes, err error)
- func (c *ControllerV1) Detail(ctx context.Context, req *v1.DetailReq) (res *v1.DetailRes, err error)
- func (c *ControllerV1) List(ctx context.Context, req *v1.ListReq) (res *v1.ListRes, err error)
- func (c *ControllerV1) Page(ctx context.Context, req *v1.PageReq) (res *v1.PageRes, err error)
- func (c *ControllerV1) Update(ctx context.Context, req *v1.UpdateReq) (res *v1.UpdateRes, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewV1 ¶
func NewV1() model_agent.IModelAgentV1
Types ¶
type ControllerV1 ¶
type ControllerV1 struct{}
func (*ControllerV1) BatchOperate ¶ added in v0.2.0
func (c *ControllerV1) BatchOperate(ctx context.Context, req *v1.BatchOperateReq) (res *v1.BatchOperateRes, err error)
func (*ControllerV1) ChangeStatus ¶
func (c *ControllerV1) ChangeStatus(ctx context.Context, req *v1.ChangeStatusReq) (res *v1.ChangeStatusRes, err error)
Click to show internal directories.
Click to hide internal directories.