1Panel/backend/constant/website.go

56 lines
1009 B
Go
Raw Normal View History

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