mirror of https://github.com/1Panel-dev/1Panel
appstorecrontabdatabasedockerdocker-composedocker-containerdocker-imagedocker-uifilemanagerlamplnmppanel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
512 B
25 lines
512 B
package constant |
|
|
|
type DBContext string |
|
|
|
const ( |
|
DB DBContext = "db" |
|
|
|
SystemRestart = "systemRestart" |
|
|
|
TypeWebsite = "website" |
|
TypePhp = "php" |
|
TypeSSL = "ssl" |
|
TypeSystem = "system" |
|
) |
|
|
|
const ( |
|
TimeOut5s = 5 |
|
TimeOut20s = 20 |
|
TimeOut5m = 300 |
|
|
|
DateLayout = "2006-01-02" // or use time.DateOnly while go version >= 1.20 |
|
DefaultDate = "1970-01-01" |
|
DateTimeLayout = "2006-01-02 15:04:05" // or use time.DateTime while go version >= 1.20 |
|
DateTimeSlimLayout = "20060102150405" |
|
)
|
|
|