Documentation
¶
Index ¶
- func NewApp() article.IArticleApp
- func NewV1() article.IArticleV1
- type ControllerApp
- func (c *ControllerApp) About(ctx context.Context, req *app.AboutReq) (*app.AboutRes, error)
- func (c *ControllerApp) Hist(ctx context.Context, req *app.HistReq) (res *app.HistRes, err error)
- func (c *ControllerApp) List(ctx context.Context, req *app.ListReq) (res *app.ListRes, err error)
- func (c *ControllerApp) Rank(ctx context.Context, req *app.RankReq) (res *app.RankRes, err error)
- func (c *ControllerApp) Reply(ctx context.Context, req *app.ReplyReq) (res *app.ReplyRes, err error)
- func (c *ControllerApp) Show(ctx context.Context, req *app.ShowReq) (res *app.ShowRes, err error)
- type ControllerV1
- func (c *ControllerV1) Cre(ctx context.Context, req *v1.CreReq) (*v1.CreRes, error)
- func (c *ControllerV1) Del(ctx context.Context, req *v1.DelReq) (res *v1.DelRes, err error)
- func (c *ControllerV1) List(ctx context.Context, req *v1.ListReq) (res *v1.ListRes, err error)
- func (c *ControllerV1) ReCre(ctx context.Context, req *v1.ReCreReq) (res *v1.ReCreRes, err error)
- func (c *ControllerV1) Show(ctx context.Context, req *v1.ShowReq) (res *v1.ShowRes, err error)
- func (c *ControllerV1) Upd(ctx context.Context, req *v1.UpdReq) (res *v1.UpdRes, err error)
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{}
Click to show internal directories.
Click to hide internal directories.