Documentation ¶
Index ¶
- func GetToken() *models.QyToken
- func StrParseFloat(s string) float32
- func StrParseInt(s string) int
- type ConfigController
- type EchartsController
- type ErrorController
- type HomeContrller
- type LinuxController
- type LogOutController
- type LoginController
- type MainController
- type ProductController
- type RegisterController
- type SalesController
- type StockController
- type WechatController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StrParseFloat ¶
Types ¶
type ConfigController ¶
type ConfigController struct {
beego.Controller
}
func (*ConfigController) AddSshHost ¶
func (c *ConfigController) AddSshHost()
@Title Post @Description Execute scripts by Name @Param scriptsName path string true "the script you want to run" @Success 200 {object} models.Object @Failure 403 :objectId is empty @router /ssh [Post]
func (*ConfigController) SshConfig ¶
func (c *ConfigController) SshConfig()
@Title Get @Description Execute scripts by Name @Param scriptsName path string true "the script you want to run" @Success 200 {object} models.Object @Failure 403 :objectId is empty @router /ssh [Get]
type EchartsController ¶
type EchartsController struct {
beego.Controller
}
func (*EchartsController) Get ¶
func (this *EchartsController) Get()
type ErrorController ¶
type ErrorController struct {
beego.Controller
}
type HomeContrller ¶
type HomeContrller struct {
beego.Controller
}
func (*HomeContrller) Get ¶
func (this *HomeContrller) Get()
type LinuxController ¶
type LinuxController struct {
beego.Controller
}
func (*LinuxController) ExecCommands ¶
func (c *LinuxController) ExecCommands()
@Title Post @Description Execute scripts by Name @Param scriptsName path string true "the script you want to run" @Success 200 {object} models.Object @Failure 403 :objectId is empty @router /ops [Post]
func (*LinuxController) LinuxDetails ¶
func (c *LinuxController) LinuxDetails()
@Title Get @Description Execute scripts by Name @Param scriptsName path string true "the script you want to run" @Success 200 {object} models.Object @Failure 403 :objectId is empty @router /details [Get]
func (*LinuxController) LinuxOps ¶
func (c *LinuxController) LinuxOps()
@Title Get @Description Execute scripts by Name @Param scriptsName path string true "the script you want to run" @Success 200 {object} models.Object @Failure 403 :objectId is empty @router /ops [Get]
type LogOutController ¶
type LogOutController struct {
beego.Controller
}
func (*LogOutController) Get ¶
func (this *LogOutController) Get()
type LoginController ¶
type LoginController struct {
beego.Controller
}
func (*LoginController) Get ¶
func (this *LoginController) Get()
func (*LoginController) Post ¶
func (this *LoginController) Post()
type MainController ¶
type MainController struct {
beego.Controller
}
func (*MainController) Get ¶
func (c *MainController) Get()
type ProductController ¶
type ProductController struct {
beego.Controller
}
func (*ProductController) AddProduct ¶
func (c *ProductController) AddProduct()
@Title Get @Description Execute scripts by Name @Param scriptsName path string true "the script you want to run" @Success 200 {object} models.Object @Failure 403 :objectId is empty @router /add [Post]
func (*ProductController) GetProduct ¶
func (c *ProductController) GetProduct()
@Title Get @Description Execute scripts by Name @Param scriptsName path string true "the script you want to run" @Success 200 {object} models.Object @Failure 403 :objectId is empty @router / [Get]
type RegisterController ¶
type RegisterController struct {
beego.Controller
}
func (*RegisterController) Get ¶
func (this *RegisterController) Get()
func (*RegisterController) Post ¶
func (this *RegisterController) Post()
type SalesController ¶
type SalesController struct {
beego.Controller
}
func (*SalesController) GetSales ¶
func (c *SalesController) GetSales()
@Title Get @Description Execute scripts by Name @Param scriptsName path string true "the script you want to run" @Success 200 {object} models.Object @Failure 403 :objectId is empty @router /sales [Get]
type StockController ¶
type StockController struct {
beego.Controller
}
func (*StockController) Get ¶
func (c *StockController) Get()
func (*StockController) Post ¶
func (c *StockController) Post()
type WechatController ¶
type WechatController struct {
beego.Controller
}
func (*WechatController) Get ¶
func (c *WechatController) Get()
func (*WechatController) Post ¶
func (c *WechatController) Post()
func (*WechatController) WechatAPI ¶
func (c *WechatController) WechatAPI()
@Title Post @Description Execute scripts by Name @Param scriptsName path string true "the script you want to run" @Success 200 {object} models.Object @Failure 403 :objectId is empty @router /send [Post]