Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Servers []ServerConfig `mapstructure:"servers" yaml:"servers"`
Download DownloadConfig `mapstructure:"download" yaml:"download"`
Log LogConfig `mapstructure:"log" yaml:"log"`
}
type DownloadConfig ¶
type DownloadConfig struct {
OutDir string `mapstructure:"out_dir" yaml:"out_dir"`
}
type ServerConfig ¶
type ServerConfig struct {
ID string `mapstructure:"id" yaml:"id"`
Host string `mapstructure:"host" yaml:"host"`
Port int `mapstructure:"port" yaml:"port"`
Username string `mapstructure:"username" yaml:"username"`
Password string `mapstructure:"password" yaml:"password"`
TLS bool `mapstructure:"tls" yaml:"tls"`
MaxConnection int `mapstructure:"max_connections" yaml:"max_connections"`
Priority int `mapstructure:"priority" yaml:"priority"`
}
Click to show internal directories.
Click to hide internal directories.