mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-06-17 20:53:18 +08:00
Refactor proxy structure and parser implementations to streamline protocol handling; remove unused marshaler interfaces and improve YAML serialization for various proxy types.
This commit is contained in:
8
model/proxy/socks.go
Normal file
8
model/proxy/socks.go
Normal file
@ -0,0 +1,8 @@
|
||||
package proxy
|
||||
|
||||
type Socks struct {
|
||||
Server string `yaml:"server,omitempty"`
|
||||
Port int `yaml:"port,omitempty"`
|
||||
Username string `yaml:"username,omitempty"`
|
||||
Password string `yaml:"password,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user