1Panel/backend/constant/website.go
2023-04-06 10:38:14 +08:00

47 lines
826 B
Go

package constant
const (
WebRunning = "Running"
WebStopped = "Stopped"
DateLayout = "2006-01-02"
DateTimeLayout = "2006-01-02 15:04:05"
DefaultDate = "1970-01-01"
ProtocolHTTP = "HTTP"
ProtocolHTTPS = "HTTPS"
NewApp = "new"
InstalledApp = "installed"
Deployment = "deployment"
Static = "static"
Proxy = "proxy"
Runtime = "runtime"
SSLExisted = "existed"
SSLAuto = "auto"
SSLManual = "manual"
DNSAccount = "dnsAccount"
DnsManual = "dnsManual"
Http = "http"
Manual = "manual"
StartWeb = "start"
StopWeb = "stop"
HTTPSOnly = "HTTPSOnly"
HTTPAlso = "HTTPAlso"
HTTPToHTTPS = "HTTPToHTTPS"
GetLog = "get"
DisableLog = "disable"
EnableLog = "enable"
AccessLog = "access.log"
ErrorLog = "error.log"
ConfigPHP = "php"
ConfigFPM = "fpm"
)