2022-10-28 17:04:57 +08:00
|
|
|
package constant
|
|
|
|
|
|
|
|
const (
|
|
|
|
WebRunning = "Running"
|
|
|
|
WebStopped = "Stopped"
|
|
|
|
|
2023-03-21 13:10:27 +08:00
|
|
|
DateLayout = "2006-01-02"
|
|
|
|
DateTimeLayout = "2006-01-02 15:04:05"
|
|
|
|
DefaultDate = "1970-01-01"
|
2022-11-21 11:27:56 +08:00
|
|
|
|
|
|
|
ProtocolHTTP = "HTTP"
|
|
|
|
ProtocolHTTPS = "HTTPS"
|
2022-12-12 15:36:45 +08:00
|
|
|
|
2022-12-13 17:20:13 +08:00
|
|
|
NewApp = "new"
|
|
|
|
InstalledApp = "installed"
|
|
|
|
|
2022-12-12 15:36:45 +08:00
|
|
|
Deployment = "deployment"
|
|
|
|
Static = "static"
|
|
|
|
Proxy = "proxy"
|
2023-04-03 17:47:23 +08:00
|
|
|
Runtime = "runtime"
|
2022-12-13 17:20:13 +08:00
|
|
|
|
|
|
|
SSLExisted = "existed"
|
|
|
|
SSLAuto = "auto"
|
|
|
|
SSLManual = "manual"
|
2022-12-14 15:26:51 +08:00
|
|
|
|
|
|
|
DNSAccount = "dnsAccount"
|
|
|
|
DnsManual = "dnsManual"
|
|
|
|
Http = "http"
|
|
|
|
Manual = "manual"
|
2023-11-27 12:04:09 +08:00
|
|
|
SelfSigned = "selfSigned"
|
2022-12-26 16:09:21 +08:00
|
|
|
|
|
|
|
StartWeb = "start"
|
|
|
|
StopWeb = "stop"
|
2022-12-28 16:07:43 +08:00
|
|
|
|
|
|
|
HTTPSOnly = "HTTPSOnly"
|
|
|
|
HTTPAlso = "HTTPAlso"
|
|
|
|
HTTPToHTTPS = "HTTPToHTTPS"
|
2022-12-30 17:39:17 +08:00
|
|
|
|
|
|
|
GetLog = "get"
|
|
|
|
DisableLog = "disable"
|
|
|
|
EnableLog = "enable"
|
2023-05-23 15:47:43 +08:00
|
|
|
DeleteLog = "delete"
|
2022-12-30 17:39:17 +08:00
|
|
|
|
|
|
|
AccessLog = "access.log"
|
|
|
|
ErrorLog = "error.log"
|
2023-04-04 18:54:04 +08:00
|
|
|
|
|
|
|
ConfigPHP = "php"
|
|
|
|
ConfigFPM = "fpm"
|
2023-11-20 10:44:10 +08:00
|
|
|
|
|
|
|
SSLInit = "init"
|
|
|
|
SSLError = "error"
|
|
|
|
SSLReady = "ready"
|
|
|
|
SSLApply = "applying"
|
|
|
|
SSLApplyError = "applyError"
|
2022-12-12 15:36:45 +08:00
|
|
|
)
|