article

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApp

func NewApp() article.IArticleApp

func NewV1

func NewV1() article.IArticleV1

Types

type ControllerApp

type ControllerApp struct{}

func (*ControllerApp) About

func (c *ControllerApp) About(ctx context.Context, req *app.AboutReq) (*app.AboutRes, error)

func (*ControllerApp) Hist

func (c *ControllerApp) Hist(ctx context.Context, req *app.HistReq) (res *app.HistRes, err error)

func (*ControllerApp) List

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

func (*ControllerApp) Rank

func (c *ControllerApp) Rank(ctx context.Context, req *app.RankReq) (res *app.RankRes, err error)

func (*ControllerApp) Reply

func (c *ControllerApp) Reply(ctx context.Context, req *app.ReplyReq) (res *app.ReplyRes, err error)

func (*ControllerApp) Show

func (c *ControllerApp) Show(ctx context.Context, req *app.ShowReq) (res *app.ShowRes, err error)

type ControllerV1

type ControllerV1 struct{}

func (*ControllerV1) Cre

func (c *ControllerV1) Cre(ctx context.Context, req *v1.CreReq) (*v1.CreRes, 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) (res *v1.ListRes, err error)

func (*ControllerV1) ReCre

func (c *ControllerV1) ReCre(ctx context.Context, req *v1.ReCreReq) (res *v1.ReCreRes, err error)

func (*ControllerV1) Show

func (c *ControllerV1) Show(ctx context.Context, req *v1.ShowReq) (res *v1.ShowRes, err 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