Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Dir string `help:"output directory (defaults to tmp)"`
Overwrite bool `help:"duplicates are overwritten (auto-renames files by default)"`
Auth string `help:"require basic auth 'username:password' on http connections"`
Port int `help:"tcp listening port"`
UDPPort int `help:"udp listening port (default disabled)"`
UDPClose time.Duration `help:"close udp file after timeout"`
NoLog bool `help:"disable http request logging"`
AllowedIP []string `opts:"short=i, help=allowed ip range"`
Verbose bool `help:"enable verbose logging"`
}
Click to show internal directories.
Click to hide internal directories.