Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tai7sy/v2ray_mobile_lib
/ functions
Functions
51 in github.com/Tai7sy/v2ray_mobile_lib
⨍
Functions
51
◇
Types & classes
13
↓ 9 callers
Method
currentIP
()
VPN/vpnservice_support.go:63
↓ 7 callers
Method
NextIP
NextIP switch to another resolved result. there still be race-condition here if multiple err concurently occured may cause idx keep switching, but tha
VPN/vpnservice_support.go:36
↓ 5 callers
Method
Close
()
v2logger.go:22
↓ 4 callers
Method
Run
(sendFd func() int)
tun2socksBinarys/run.go:75
↓ 3 callers
Function
CheckVersion
()
status/status.go:14
↓ 3 callers
Function
NewProtectedDialer
NewProtectedDialer ...
VPN/vpnservice_support.go:72
↓ 3 callers
Method
PrepareDomain
PrepareDomain caches direct v2ray server host
VPN/vpnservice_support.go:149
↓ 2 callers
Method
GetDataDir
()
status/status.go:18
↓ 2 callers
Method
OnEmitStatus
(int, string)
interact.go:59
↓ 2 callers
Method
fdConn
(ctx context.Context, ip net.IP, port int, fd int)
VPN/vpnservice_support.go:266
↓ 2 callers
Method
getFd
(network v2net.Network, isIPv4 bool)
VPN/vpnservice_support.go:181
↓ 2 callers
Function
initV2Env
(assetsDirectory string)
interact.go:189
↓ 2 callers
Method
lookupAddr
simplicated version of golang: internetAddrList in src/net/ipsock.go
VPN/vpnservice_support.go:105
↓ 1 callers
Method
CheckAndExport
()
tun2socksBinarys/run.go:71
↓ 1 callers
Function
CheckVersion
* CheckVersion int This func will return libv2ray binding version. */
interact.go:255
↓ 1 callers
Method
Close
()
tun2socksBinarys/run.go:90
↓ 1 callers
Method
Dial
Dial exported as the protected dial method
VPN/vpnservice_support.go:208
↓ 1 callers
Method
EscortRun
(proc string, pt []string, additionalEnv string, sendFd func() int)
process/escort.go:13
↓ 1 callers
Method
EscortingDown
()
process/escort.go:69
↓ 1 callers
Method
EscortingUp
()
process/escort.go:62
↓ 1 callers
Method
GetApp
(name string)
status/status.go:22
↓ 1 callers
Method
GetTun2socksArgs
(localDNS bool, enableIPv6 bool)
status/status.go:26
↓ 1 callers
Method
GetVPNSetupArg
(localDNS bool, enableIPv6 bool)
status/status.go:53
↓ 1 callers
Method
IsVServerReady
()
VPN/vpnservice_support.go:92
↓ 1 callers
Method
Prepare
()
interact.go:56
↓ 1 callers
Method
PrepareResolveChan
()
VPN/vpnservice_support.go:96
↓ 1 callers
Method
Protect
(int)
VPN/vpnservice_support.go:20
↓ 1 callers
Method
ResolveChan
()
VPN/vpnservice_support.go:100
↓ 1 callers
Method
Setup
(Conf string)
interact.go:55
↓ 1 callers
Method
Shutdown
()
interact.go:57
↓ 1 callers
Method
StopLoop
*StopLoop Stop V2Ray main loop */
interact.go:103
↓ 1 callers
Method
checkIfRcExist
()
tun2socksBinarys/run.go:21
↓ 1 callers
Function
createStdoutLogWriter
This logger won't print data/time stamps
v2logger.go:27
↓ 1 callers
Method
pointLoop
()
interact.go:141
↓ 1 callers
Method
shutdownInit
()
interact.go:133
Method
CheckAndExport
()
tun2socksBinarys/run_ios.go:10
Function
CheckVersionX
* CheckVersionX string This func will return libv2ray binding version and V2Ray version used. */
interact.go:263
Method
Close
()
tun2socksBinarys/run_ios.go:19
Method
GetIsRunning
Delegate Funcation
interact.go:117
Function
NewV2RayPoint
*NewV2RayPoint new V2RayPoint*/
interact.go:226
Method
Protect
(int)
interact.go:58
Method
Protect
(int)
VPN/vpnservice_support_test.go:20
Method
QueryStats
Delegate Funcation
interact.go:122
Method
Run
(sendFd func() int)
tun2socksBinarys/run_ios.go:14
Method
RunLoop
* RunLoop Run V2Ray main loop */
interact.go:66
Method
SendFd
()
interact.go:60
Function
TestConfig
Delegate Function
interact.go:219
Function
TestProtectedDialer_Dial
(t *testing.T)
VPN/vpnservice_support_test.go:54
Function
TestProtectedDialer_PrepareDomain
(t *testing.T)
VPN/vpnservice_support_test.go:24
Function
Test_resolved_NextIP
(t *testing.T)
VPN/vpnservice_support_test.go:109
Method
Write
(s string)
v2logger.go:17