Documentation ¶
Index ¶
- type BaseController
- func (s *BaseController) AjaxErr(str string)
- func (s *BaseController) AjaxOk(str string)
- func (s *BaseController) AjaxTable(list interface{}, cnt int, recordsTotal int)
- func (s *BaseController) GetAjaxParams() (start, limit int)
- func (s *BaseController) GetBoolNoErr(key string, def ...bool) bool
- func (s *BaseController) GetIntNoErr(key string, def ...int) int
- func (s *BaseController) Prepare()
- func (s *BaseController) SetInfo(name string)
- func (s *BaseController) SetType(name string)
- type ClientController
- type IndexController
- func (s *IndexController) Add()
- func (s *IndexController) AddHost()
- func (s *IndexController) All()
- func (s *IndexController) Del()
- func (s *IndexController) DelHost()
- func (s *IndexController) Edit()
- func (s *IndexController) EditHost()
- func (s *IndexController) GetHost()
- func (s *IndexController) GetOneTunnel()
- func (s *IndexController) GetTunnel()
- func (s *IndexController) Help()
- func (s *IndexController) Host()
- func (s *IndexController) HostList()
- func (s *IndexController) Http()
- func (s *IndexController) Index()
- func (s *IndexController) Secret()
- func (s *IndexController) Socks5()
- func (s *IndexController) Start()
- func (s *IndexController) Stop()
- func (s *IndexController) Tcp()
- func (s *IndexController) Udp()
- type LoginController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct { beego.Controller // contains filtered or unexported fields }
func (*BaseController) AjaxTable ¶
func (s *BaseController) AjaxTable(list interface{}, cnt int, recordsTotal int)
ajax table返回
func (*BaseController) GetAjaxParams ¶
func (s *BaseController) GetAjaxParams() (start, limit int)
ajax table参数
func (*BaseController) GetBoolNoErr ¶
func (s *BaseController) GetBoolNoErr(key string, def ...bool) bool
获取去掉错误的bool值
func (*BaseController) GetIntNoErr ¶
func (s *BaseController) GetIntNoErr(key string, def ...int) int
去掉没有err返回值的int
func (*BaseController) SetInfo ¶
func (s *BaseController) SetInfo(name string)
func (*BaseController) SetType ¶
func (s *BaseController) SetType(name string)
type ClientController ¶ added in v0.0.10
type ClientController struct {
BaseController
}
func (*ClientController) ChangeStatus ¶ added in v0.0.10
func (s *ClientController) ChangeStatus()
更改状态
func (*ClientController) GetClient ¶ added in v0.0.12
func (s *ClientController) GetClient()
func (*ClientController) List ¶ added in v0.0.12
func (s *ClientController) List()
type IndexController ¶
type IndexController struct {
BaseController
}
func (*IndexController) Add ¶
func (s *IndexController) Add()
func (*IndexController) AddHost ¶
func (s *IndexController) AddHost()
func (*IndexController) All ¶ added in v0.0.10
func (s *IndexController) All()
func (*IndexController) Del ¶
func (s *IndexController) Del()
func (*IndexController) DelHost ¶
func (s *IndexController) DelHost()
func (*IndexController) Edit ¶
func (s *IndexController) Edit()
func (*IndexController) EditHost ¶ added in v0.0.9
func (s *IndexController) EditHost()
func (*IndexController) GetHost ¶ added in v0.0.12
func (s *IndexController) GetHost()
func (*IndexController) GetOneTunnel ¶ added in v0.0.12
func (s *IndexController) GetOneTunnel()
func (*IndexController) GetTunnel ¶ added in v0.0.10
func (s *IndexController) GetTunnel()
func (*IndexController) Help ¶ added in v0.0.10
func (s *IndexController) Help()
func (*IndexController) Host ¶
func (s *IndexController) Host()
func (*IndexController) HostList ¶
func (s *IndexController) HostList()
func (*IndexController) Http ¶
func (s *IndexController) Http()
func (*IndexController) Index ¶
func (s *IndexController) Index()
func (*IndexController) Secret ¶ added in v0.0.16
func (s *IndexController) Secret()
func (*IndexController) Socks5 ¶
func (s *IndexController) Socks5()
func (*IndexController) Start ¶
func (s *IndexController) Start()
func (*IndexController) Stop ¶
func (s *IndexController) Stop()
func (*IndexController) Tcp ¶
func (s *IndexController) Tcp()
func (*IndexController) Udp ¶
func (s *IndexController) Udp()
type LoginController ¶
type LoginController struct {
beego.Controller
}
func (*LoginController) Index ¶
func (self *LoginController) Index()
func (*LoginController) Out ¶
func (self *LoginController) Out()
func (*LoginController) Verify ¶
func (self *LoginController) Verify()
Click to show internal directories.
Click to hide internal directories.