Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
HttpAddr string `usage:"HTTP address"`
HttpsEnabled bool `usage:""`
HttpsSelfsigned bool `usage:""`
Dir string `usage:"data directory"`
Statics string `usage:"statics directory"`
Version bool `usage:"show version and exit"`
ShowBanner bool `usage:"show big banner"`
ShowConfig bool `usage:"print config"`
EnableCompression bool `usage:"enable http compression (gzip)"`
}
func Default ¶
func Default() *Configuration
Click to show internal directories.
Click to hide internal directories.