10 lines
350 B
Go
10 lines
350 B
Go
package config
|
|
|
|
type Proxy struct {
|
|
Host string `json:"host" yaml:"host" toml:"host"`
|
|
Port int `json:"port" yaml:"port" toml:"port"`
|
|
UseAuth bool `default:"false" json:"useAuth" yaml:"useAuth" toml:"useAuth"`
|
|
User string `json:"user" yaml:"user" toml:"user"`
|
|
Password string `json:"password" yaml:"password" toml:"password"`
|
|
}
|