1
0
Fork 0
mirror of synced 2024-11-16 14:15:34 -05:00
ovpn-admin/backend/consts.go
2022-12-30 17:25:21 +03:00

14 lines
446 B
Go

package backend
const (
usernameRegexp = `^([a-zA-Z0-9_.-@])+$`
passwordMinLength = 6
DownloadCertsApiUrl = "/api/data/certs/download"
DownloadCcdApiUrl = "/api/data/ccd/download"
certsArchiveFileName = "certs.tar.gz"
ccdArchiveFileName = "ccd.tar.gz"
indexTxtDateLayout = "060102150405Z"
stringDateFormat = "2006-01-02 15:04:05"
KubeNamespaceFilePath = "/var/run/secrets/kubernetes.io/serviceaccount/namespace"
)