v2ray-core/proxy/socks/config.go

14 lines
172 B
Go

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