v2ray-core/proxy/socks/config/config.go

14 lines
178 B
Go

package config
import (
"net"
)
type SocksConfig interface {
IsNoAuth() bool
IsPassword() bool
HasAccount(username, password string) bool
IP() net.IP
UDPEnabled() bool
}