Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryStats ¶
QueryStats returns traffic usage of given point
Types ¶
type Tun2socksServiceSupportsSet ¶
type Tun2socksServiceSupportsSet interface { UseIPv6() bool LogLevel() string FakeIPRange() string SocksAddress() string HandlePackets() []byte PacketFlow(data []byte) }
Tun2socksServiceSupportsSet is the interface of platform Android
type V2RayPointer ¶
type V2RayPointer struct { }
V2RayPointer is a public type
func NewV2RayPointer ¶
func NewV2RayPointer(s VPNServiceSupportsSet, t Tun2socksServiceSupportsSet, r V2RayServiceSupportsSet) *V2RayPointer
NewV2RayPointer returns an instance of V2RayPoint
type V2RayServiceSupportsSet ¶
type V2RayServiceSupportsSet interface { ProxyOnly() bool ResolveDnsNext() bool ConfigFile() string }
V2RayServiceSupportsSet is the interface of platform Android
Click to show internal directories.
Click to hide internal directories.