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 LoadCertificate ¶ added in v1.4.0
func LoadCertificate(certFile, keyFile string) (*tls.Certificate, error)
Types ¶
type Param ¶
type Param struct { Root string EmptyRoot bool DefaultSort string DirIndexes []string Aliases map[string]string GlobalHeaders [][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 Certificate *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.