alist/internal/conf/var.go

35 lines
483 B
Go
Raw Permalink Normal View History

2022-06-06 13:48:53 +00:00
package conf
import (
"net/url"
"regexp"
)
2022-06-06 13:48:53 +00:00
var (
BuiltAt string
GoVersion string
GitAuthor string
GitCommit string
Version string = "dev"
WebVersion string
)
var (
Conf *Config
URL *url.URL
2022-06-06 13:48:53 +00:00
)
2022-08-07 16:51:05 +00:00
var SlicesMap = make(map[string][]string)
var FilenameCharMap = make(map[string]string)
var PrivacyReg []*regexp.Regexp
2022-08-11 13:32:33 +00:00
var (
// StoragesLoaded loaded success if empty
StoragesLoaded = false
)
2022-08-28 15:13:03 +00:00
var (
RawIndexHtml string
ManageHtml string
IndexHtml string
)