mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-07-08 14:24:36 -04:00
14 lines
178 B
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
|
||
|
}
|