Documentation ¶
Index ¶
- Constants
- func AddCert(c *gin.Context)
- 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 DeleteDomain(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func DisableDomain(c *gin.Context)
- func DuplicateSite(c *gin.Context)
- func EditConfig(c *gin.Context)
- func EditUser(c *gin.Context)
- func EnableDomain(c *gin.Context)
- func ErrHandler(c *gin.Context, err error)
- func FormatNginxConfig(c *gin.Context)
- func GetAnalyticInit(c *gin.Context)
- func GetCert(c *gin.Context)
- func GetCertList(c *gin.Context)
- func GetConfig(c *gin.Context)
- func GetConfigs(c *gin.Context)
- func GetCurrentVersion(c *gin.Context)
- func GetDomain(c *gin.Context)
- func GetDomains(c *gin.Context)
- func GetFileBackup(c *gin.Context)
- func GetFileBackupList(c *gin.Context)
- func GetNginxLogPage(c *gin.Context)
- func GetRelease(c *gin.Context)
- func GetSettings(c *gin.Context)
- func GetTemplate(c *gin.Context)
- func GetTemplateBlock(c *gin.Context)
- func GetTemplateBlockList(c *gin.Context)
- func GetTemplateConfList(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 ModifyCert(c *gin.Context)
- func NginxLog(c *gin.Context)
- func NginxStatus(c *gin.Context)
- func PerformCoreUpgrade(c *gin.Context)
- func Pty(c *gin.Context)
- func ReloadNginx(c *gin.Context)
- func RemoveCert(c *gin.Context)
- func RemoveDomainFromAutoCert(c *gin.Context)
- func RestartNginx(c *gin.Context)
- func SaveDomain(c *gin.Context)
- func SaveSettings(c *gin.Context)
- func TestNginx(c *gin.Context)
- func TokenizeNginxConfig(c *gin.Context)
- type AddConfigJson
- type CPUStat
- type CertificateInfo
- type DiskStat
- type EditConfigJson
- type InstallJson
- type IssueCertResponse
- type LoginUser
- type MemStat
- type Stat
- type UserJson
- type ValidError
Constants ¶
View Source
const ( Success = "success" Info = "info" Error = "error" )
View Source
const (
PageSize = 128 * 1024
)
Variables ¶
This section is empty.
Functions ¶
func AddDomainToAutoCert ¶
func BindAndValid ¶
func BuildNginxConfig ¶
func DeleteDomain ¶
func DeleteUser ¶
func DisableDomain ¶
func DuplicateSite ¶
func EditConfig ¶
func EnableDomain ¶
func ErrHandler ¶
func FormatNginxConfig ¶
func GetAnalyticInit ¶
func GetCertList ¶
func GetConfigs ¶
func GetCurrentVersion ¶
func GetDomains ¶
func GetFileBackup ¶
func GetFileBackupList ¶
func GetNginxLogPage ¶
func GetRelease ¶
func GetSettings ¶
func GetTemplate ¶
func GetTemplateBlock ¶
func GetTemplateBlockList ¶
func GetTemplateConfList ¶
func InstallLockCheck ¶
func InstallNginxUI ¶
func ModifyCert ¶
func NginxStatus ¶
func PerformCoreUpgrade ¶
func ReloadNginx ¶
func RemoveCert ¶
func RestartNginx ¶
func SaveDomain ¶
func SaveSettings ¶
func TokenizeNginxConfig ¶
Types ¶
type AddConfigJson ¶
type CertificateInfo ¶
type EditConfigJson ¶
type EditConfigJson struct {
Content string `json:"content" binding:"required"`
}
type InstallJson ¶
type IssueCertResponse ¶
type MemStat ¶
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.