Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EntriesToUsers ¶ added in v1.4.0
func EntriesToUsers(entries []string) []*user
func LoadCertificates ¶ added in v1.13.6
func LoadCertificates(certFiles, keyFiles []string) ([]tls.Certificate, []error)
Types ¶
type Param ¶
type Param struct { Root string EmptyRoot bool PrefixUrls []string ForceDirSlash int DefaultSort string DirIndexes []string Aliases map[string]string GlobalRestrictAccess []string RestrictAccessUrls map[string][]string RestrictAccessDirs map[string][]string GlobalHeaders [][2]string HeadersUrls map[string][][2]string HeadersDirs map[string][][2]string GlobalUpload bool UploadUrls []string UploadDirs []string GlobalMkdir bool MkdirUrls []string MkdirDirs []string GlobalDelete bool DeleteUrls []string DeleteDirs []string GlobalArchive bool ArchiveUrls []string ArchiveDirs []string GlobalCors bool CorsUrls []string CorsDirs []string GlobalAuth bool AuthUrls []string AuthDirs []string UsersPlain []*user UsersBase64 []*user UsersMd5 []*user UsersSha1 []*user UsersSha256 []*user UsersSha512 []*user UserMatchCase bool Certificates []tls.Certificate Listens []string ListensPlain []string ListensTLS []string HostNames []string Theme string ThemeDir string GlobalHsts bool GlobalHttps bool HttpsPort string Shows *regexp.Regexp ShowDirs *regexp.Regexp ShowFiles *regexp.Regexp Hides *regexp.Regexp HideDirs *regexp.Regexp HideFiles *regexp.Regexp AccessLog string ErrorLog string }
func (*Param) GetDupUserNames ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.