Documentation
¶
Overview ¶
*
- 首页根目录的Controller
- http://localhost:8080/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminController ¶
type AdminController struct { Ctx iris.Context Service services.SuperstarService }
func (*AdminController) Get ¶
func (c *AdminController) Get() mvc.Result
func (*AdminController) GetDelete ¶
func (c *AdminController) GetDelete() mvc.Result
func (*AdminController) GetEdit ¶
func (c *AdminController) GetEdit() mvc.Result
func (*AdminController) PostSave ¶
func (c *AdminController) PostSave() mvc.Result
type IndexController ¶
type IndexController struct { Ctx iris.Context Service services.SuperstarService }
func (*IndexController) GetClearcache ¶
func (c *IndexController) GetClearcache() mvc.Result
集群多服务器的时候,才用得上这个接口 性能优化的时候才考虑,加上本机的SQL缓存 http://localhost:8080/clearcache
func (*IndexController) GetSearch ¶
func (c *IndexController) GetSearch() mvc.Result
Click to show internal directories.
Click to hide internal directories.