mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-06-17 20:53:18 +08:00
14 lines
496 B
Go
14 lines
496 B
Go
package proxy
|
|
|
|
// https://github.com/MetaCubeX/mihomo/blob/Meta/adapter/outbound/socks5.go
|
|
type Socks struct {
|
|
Server string `yaml:"server"`
|
|
Port int `yaml:"port"`
|
|
UserName string `yaml:"username,omitempty"`
|
|
Password string `yaml:"password,omitempty"`
|
|
TLS bool `yaml:"tls,omitempty"`
|
|
UDP bool `yaml:"udp,omitempty"`
|
|
SkipCertVerify bool `yaml:"skip-cert-verify,omitempty"`
|
|
Fingerprint string `yaml:"fingerprint,omitempty"`
|
|
}
|