Documentation ¶
Index ¶
- type IndexController
- func (c *IndexController) Get() string
- func (c *IndexController) GetCeshi() mvc.Result
- func (c *IndexController) GetDaohang() mvc.Result
- func (c *IndexController) GetIsmobile() mvc.Result
- func (c *IndexController) GetStyle1() mvc.Result
- func (c *IndexController) GetStyle2() mvc.Result
- func (c *IndexController) GetStyle3() mvc.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexController ¶
type IndexController struct { Ctx iris.Context ServiceADemo services.ADemoService }
func (*IndexController) Get ¶
func (c *IndexController) Get() string
func (*IndexController) GetCeshi ¶
func (c *IndexController) GetCeshi() mvc.Result
Get http://localhost:8080/demo/muban/ceshi 模板路径是否正常
func (*IndexController) GetDaohang ¶
func (c *IndexController) GetDaohang() mvc.Result
func (*IndexController) GetIsmobile ¶
func (c *IndexController) GetIsmobile() mvc.Result
Get http://localhost:8080/demo/muban/ismobile 是否是手机等移动设备访问
func (*IndexController) GetStyle1 ¶
func (c *IndexController) GetStyle1() mvc.Result
func (*IndexController) GetStyle2 ¶
func (c *IndexController) GetStyle2() mvc.Result
func (*IndexController) GetStyle3 ¶
func (c *IndexController) GetStyle3() mvc.Result
Click to show internal directories.
Click to hide internal directories.