article_grp

package
v0.0.0-...-70948f9 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApp

func NewApp() article_grp.IArticleGrpApp

func NewV1

func NewV1() article_grp.IArticleGrpV1

Types

type ControllerApp

type ControllerApp struct{}

func (*ControllerApp) List

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

type ControllerV1

type ControllerV1 struct{}

func (*ControllerV1) Cre

func (c *ControllerV1) Cre(ctx context.Context, req *v1.CreReq) (res *v1.CreRes, err error)

func (*ControllerV1) Del

func (c *ControllerV1) Del(ctx context.Context, req *v1.DelReq) (res *v1.DelRes, err error)

func (*ControllerV1) List

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

func (*ControllerV1) Show

func (c *ControllerV1) Show(ctx context.Context, req *v1.ShowReq) (*v1.ShowRes, error)

func (*ControllerV1) Upd

func (c *ControllerV1) Upd(ctx context.Context, req *v1.UpdReq) (res *v1.UpdRes, err error)

Jump to

Keyboard shortcuts

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