Documentation ¶
Index ¶
- Constants
- func AddCert(c *gin.Context)
- func AddConfig(c *gin.Context)
- func AddDnsCredential(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 DeleteDnsCredential(c *gin.Context)
- func DeleteDomain(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func DisableDomain(c *gin.Context)
- func DomainEditByAdvancedMode(c *gin.Context)
- func DuplicateSite(c *gin.Context)
- func EditConfig(c *gin.Context)
- func EditDnsCredential(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 GetDNSProvider(c *gin.Context)
- func GetDNSProvidersList(c *gin.Context)
- func GetDnsCredential(c *gin.Context)
- func GetDnsCredentialList(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 MakeChatCompletionRequest(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 StoreChatGPTRecord(c *gin.Context)
- func TestNginx(c *gin.Context)
- func TokenizeNginxConfig(c *gin.Context)
- type AddConfigJson
- type CPUStat
- type CertificateInfo
- type DiskStat
- type DnsCredentialManageJson
- 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 ChatGPTInitPrompt = "" /* 472-byte string literal not displayed */
View Source
const (
PageSize = 128 * 1024
)
Variables ¶
This section is empty.
Functions ¶
func AddDnsCredential ¶ added in v1.8.0
func AddDomainToAutoCert ¶
func BindAndValid ¶
func BuildNginxConfig ¶ added in v1.5.0
func DeleteDnsCredential ¶ added in v1.8.0
func DeleteDomain ¶
func DeleteUser ¶
func DisableDomain ¶
func DomainEditByAdvancedMode ¶ added in v1.8.0
func DuplicateSite ¶ added in v1.7.6
func EditConfig ¶
func EditDnsCredential ¶ added in v1.8.0
func EnableDomain ¶
func ErrHandler ¶
func FormatNginxConfig ¶ added in v1.7.0
func GetAnalyticInit ¶
func GetCertList ¶ added in v1.7.0
func GetConfigs ¶
func GetCurrentVersion ¶ added in v1.7.2
func GetDNSProvider ¶ added in v1.8.0
func GetDNSProvidersList ¶ added in v1.8.0
func GetDnsCredential ¶ added in v1.8.0
func GetDnsCredentialList ¶ added in v1.8.0
func GetDomains ¶
func GetFileBackup ¶
func GetFileBackupList ¶
func GetNginxLogPage ¶ added in v1.6.1
func GetRelease ¶ added in v1.7.2
func GetSettings ¶ added in v1.7.0
func GetTemplate ¶
func GetTemplateBlock ¶ added in v1.7.0
func GetTemplateBlockList ¶ added in v1.7.0
func GetTemplateConfList ¶ added in v1.7.0
func InstallLockCheck ¶
func InstallNginxUI ¶
func MakeChatCompletionRequest ¶ added in v1.7.8
func ModifyCert ¶ added in v1.7.0
func NginxStatus ¶ added in v1.7.6
func PerformCoreUpgrade ¶ added in v1.7.2
func ReloadNginx ¶ added in v1.7.3
func RemoveCert ¶ added in v1.7.0
func RestartNginx ¶ added in v1.7.6
func SaveDomain ¶ added in v1.7.6
func SaveSettings ¶ added in v1.7.0
func StoreChatGPTRecord ¶ added in v1.7.8
func TokenizeNginxConfig ¶ added in v1.5.0
Types ¶
type AddConfigJson ¶
type CertificateInfo ¶ added in v1.5.0
type DnsCredentialManageJson ¶ added in v1.8.0
type EditConfigJson ¶
type EditConfigJson struct {
Content string `json:"content" binding:"required"`
}
type InstallJson ¶
type IssueCertResponse ¶ added in v1.5.0
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.