Documentation ¶
Index ¶
- func AddConfig(c *gin.Context)
- func AddDomainToAutoCert(c *gin.Context)
- func AddUser(c *gin.Context)
- func Analytic(c *gin.Context)
- func BindAndValid(c *gin.Context, target interface{}) bool
- func BuildNginxConfig(c *gin.Context)
- func CertInfo(c *gin.Context)
- func DeleteDomain(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func DisableDomain(c *gin.Context)
- func EditConfig(c *gin.Context)
- func EditDomain(c *gin.Context)
- func EditUser(c *gin.Context)
- func EnableDomain(c *gin.Context)
- func ErrHandler(c *gin.Context, err error)
- func GetAnalyticInit(c *gin.Context)
- func GetConfig(c *gin.Context)
- func GetConfigs(c *gin.Context)
- func GetDomain(c *gin.Context)
- func GetDomains(c *gin.Context)
- func GetFileBackup(c *gin.Context)
- func GetFileBackupList(c *gin.Context)
- func GetTemplate(c *gin.Context)
- func GetUser(c *gin.Context)
- func GetUsers(c *gin.Context)
- func InstallLockCheck(c *gin.Context)
- func InstallNginxUI(c *gin.Context)
- func IssueCert(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func Pty(c *gin.Context)
- func RemoveDomainFromAutoCert(c *gin.Context)
- func TokenizeNginxConfig(c *gin.Context)
- type AddConfigJson
- type CPUStat
- type DiskStat
- type EditConfigJson
- type InstallJson
- type LoginUser
- type MemStat
- type Stat
- type UserJson
- type ValidError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDomainToAutoCert ¶
func BindAndValid ¶
func BuildNginxConfig ¶ added in v1.5.0
func DeleteDomain ¶
func DeleteUser ¶
func DisableDomain ¶
func EditConfig ¶
func EditDomain ¶
func EnableDomain ¶
func ErrHandler ¶
func GetAnalyticInit ¶
func GetConfigs ¶
func GetDomains ¶
func GetFileBackup ¶
func GetFileBackupList ¶
func GetTemplate ¶
func InstallLockCheck ¶
func InstallNginxUI ¶
func TokenizeNginxConfig ¶ added in v1.5.0
Types ¶
type AddConfigJson ¶
type EditConfigJson ¶
type EditConfigJson struct {
Content string `json:"content" binding:"required"`
}
type InstallJson ¶
type MemStat ¶ added in v1.5.0
type MemStat struct { Total string `json:"total"` Used string `json:"used"` Cached string `json:"cached"` Free string `json:"free"` SwapUsed string `json:"swap_used"` SwapTotal string `json:"swap_total"` SwapCached string `json:"swap_cached"` SwapPercent float64 `json:"swap_percent"` Pressure float64 `json:"pressure"` }
type ValidError ¶
Click to show internal directories.
Click to hide internal directories.