Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorController ¶
type AuthorController struct {
controller.BaseController
}
AuthorController 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*AuthorController) ParseJSON ¶
func (ctl *AuthorController) ParseJSON(json []byte) (interface{}, error)
func (*AuthorController) ParsePath ¶
func (ctl *AuthorController) ParsePath(ctx iris.Context)
type PoemController ¶
type PoemController struct {
controller.BaseController
}
PoemController 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*PoemController) ParseJSON ¶
func (ctl *PoemController) ParseJSON(json []byte) (interface{}, error)
func (*PoemController) Search ¶ added in v0.1.24
func (ctl *PoemController) Search(ctx iris.Context)
type RhythmicController ¶
type RhythmicController struct {
controller.BaseController
}
RhythmicController 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*RhythmicController) ParseJSON ¶
func (ctl *RhythmicController) ParseJSON(json []byte) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.