Documentation
¶
Index ¶
- func NewV1() model.IModelV1
- 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) InitSync(ctx context.Context, req *v1.InitSyncReq) (res *v1.InitSyncRes, 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) Permissions(ctx context.Context, req *v1.PermissionsReq) (res *v1.PermissionsRes, err error)
- func (c *ControllerV1) Tree(ctx context.Context, req *v1.TreeReq) (res *v1.TreeRes, 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 ¶
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)
func (*ControllerV1) InitSync ¶ added in v0.5.0
func (c *ControllerV1) InitSync(ctx context.Context, req *v1.InitSyncReq) (res *v1.InitSyncRes, err error)
func (*ControllerV1) Permissions ¶ added in v1.1.0
func (c *ControllerV1) Permissions(ctx context.Context, req *v1.PermissionsReq) (res *v1.PermissionsRes, err error)
Click to show internal directories.
Click to hide internal directories.