model

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewV1

func NewV1() model.IModelV1

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) Create

func (c *ControllerV1) Create(ctx context.Context, req *v1.CreateReq) (res *v1.CreateRes, err error)

func (*ControllerV1) Delete

func (c *ControllerV1) Delete(ctx context.Context, req *v1.DeleteReq) (res *v1.DeleteRes, err error)

func (*ControllerV1) Detail

func (c *ControllerV1) Detail(ctx context.Context, req *v1.DetailReq) (res *v1.DetailRes, 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) List

func (c *ControllerV1) List(ctx context.Context, req *v1.ListReq) (res *v1.ListRes, err error)

func (*ControllerV1) Page

func (c *ControllerV1) Page(ctx context.Context, req *v1.PageReq) (res *v1.PageRes, 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)

func (*ControllerV1) Tree added in v0.5.0

func (c *ControllerV1) Tree(ctx context.Context, req *v1.TreeReq) (res *v1.TreeRes, err error)

func (*ControllerV1) Update

func (c *ControllerV1) Update(ctx context.Context, req *v1.UpdateReq) (res *v1.UpdateRes, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL