1Panel/backend/constant/website.go

44 lines
763 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"
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"
)