v2ray-core/proxy/socks/config.go

14 lines
172 B
Go
Raw Normal View History

2015-12-06 17:21:15 +00:00
package socks
2015-12-03 21:41:06 +00:00
import (
"net"
)
2015-12-06 17:21:15 +00:00
type Config interface {
2015-12-03 21:41:06 +00:00
IsNoAuth() bool
IsPassword() bool
HasAccount(username, password string) bool
IP() net.IP
UDPEnabled() bool
}