Documentation
¶
Index ¶
Constants ¶
View Source
const (
SeparatorString = string(os.PathSeparator)
)
Variables ¶
This section is empty.
Functions ¶
func NormalizePath ¶
Types ¶
type Conf ¶
type Conf struct {
Port *int `yaml:"port"`
PrometheusPort *int `yaml:"prometheusPort"`
PrometheusPath *string `yaml:"prometheusPath"`
Title *string `yaml:"title"`
Storage *string `yaml:"storage"`
Directory *string `yaml:"directory"`
Styles *string `yaml:"styles"`
Icons *bool `yaml:"icons"`
ShowDownloads *bool `yaml:"showDownloads"`
ShowDotfiles *bool `yaml:"showDotfiles"`
ShowSymlinks *bool `yaml:"showSymlinks"`
EnableJS *bool `yaml:"enableJs"`
EnableZipDownloads *bool `yaml:"enableZipDownloads"`
Heading *string `yaml:"heading"`
Ignore []*regexp.Regexp `yaml:"ignore"`
// contains filtered or unexported fields
}
func (*Conf) GetDirectory ¶
Click to show internal directories.
Click to hide internal directories.