fixup codes

This commit is contained in:
2025-08-26 12:06:00 +08:00
committed by 蒟蒻
parent 093fdaaecf
commit 9ae126c648
252 changed files with 627 additions and 369 deletions

View File

@ -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"`
}