fixup codes
This commit is contained in:
@ -25,6 +25,14 @@ type ClientOptions struct {
|
||||
AuthProvider auth.Provider
|
||||
}
|
||||
|
||||
type ConnectOptions struct {
|
||||
FakeHost string
|
||||
type ProxyConfig struct {
|
||||
Type string `json:"type" toml:"type"`
|
||||
Host string `json:"host" toml:"host"`
|
||||
Username string `json:"username" toml:"username"`
|
||||
Password string `json:"password" toml:"password"`
|
||||
}
|
||||
|
||||
type ConnectOptions struct {
|
||||
FakeHost string `json:"fake_host,omitempty" toml:"fake_host,omitempty"`
|
||||
Proxy *ProxyConfig `json:"proxy,omitempty" toml:"proxy,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user