Documentation
¶
Index ¶
- func NewV1() notice_template.INoticeTemplateV1
- type ControllerV1
- func (c *ControllerV1) BatchOperate(ctx context.Context, req *v1.BatchOperateReq) (res *v1.BatchOperateRes, err error)
- func (c *ControllerV1) ChangePublic(ctx context.Context, req *v1.ChangePublicReq) (res *v1.ChangePublicRes, 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() notice_template.INoticeTemplateV1
Types ¶
type ControllerV1 ¶
type ControllerV1 struct{}
func (*ControllerV1) BatchOperate ¶
func (c *ControllerV1) BatchOperate(ctx context.Context, req *v1.BatchOperateReq) (res *v1.BatchOperateRes, err error)
func (*ControllerV1) ChangePublic ¶
func (c *ControllerV1) ChangePublic(ctx context.Context, req *v1.ChangePublicReq) (res *v1.ChangePublicRes, 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) List ¶
func (c *ControllerV1) List(ctx context.Context, req *v1.ListReq) (res *v1.ListRes, err error)
Source Files
¶
- notice_template.go
- notice_template_new.go
- notice_template_v1_batch_operate.go
- notice_template_v1_change_public.go
- notice_template_v1_change_status.go
- notice_template_v1_create.go
- notice_template_v1_delete.go
- notice_template_v1_detail.go
- notice_template_v1_list.go
- notice_template_v1_page.go
- notice_template_v1_update.go
Click to show internal directories.
Click to hide internal directories.