Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daeuniverse/gg
/ functions
Functions
222 in github.com/daeuniverse/gg
⨍
Functions
222
◇
Types & classes
71
↓ 62 callers
Method
Get
(loopback netip.Addr)
proxy/ip_mapper.go:9
↓ 40 callers
Method
String
()
dialer/shadowsocks/shadowsocks.go:252
↓ 28 callers
Method
Write
(b []byte)
dialer/transport/simpleobfs/tls.go:80
↓ 19 callers
Function
SetValue
(values *url.Values, key string, value string)
common/util.go:105
↓ 14 callers
Function
FromLinkRegister
(name string, creator FromLinkCreator)
dialer/dialer.go:88
↓ 13 callers
Method
Set
(fakeIP netip.Addr, realIP netip.Addr)
proxy/real_ip_mapper.go:19
↓ 12 callers
Function
Base64URLDecode
(s string)
common/util.go:41
↓ 10 callers
Function
StringToBool
(s string)
common/util.go:32
↓ 8 callers
Method
Decode
(ptr unsafe.Pointer, iter *jsoniter.Iterator)
common/jsoniter.go:12
↓ 8 callers
Method
Name
()
dialer/dialer.go:45
↓ 7 callers
Method
Close
()
proxy/proxy.go:164
↓ 7 callers
Function
NewDialer
(dialer proxy.Dialer, supportUDP bool, name string, protocol string, link string)
dialer/dialer.go:31
↓ 7 callers
Method
WriteTo
(b []byte, addr net.Addr)
dialer/direct.go:52
↓ 7 callers
Method
network
(socketInfo *SocketMetadata)
tracer/stop_handler.go:283
↓ 6 callers
Function
Base64StdDecode
(s string)
common/util.go:12
↓ 6 callers
Function
FromClashRegister
(name string, creator FromClashCreator)
dialer/dialer.go:104
↓ 5 callers
Function
BoolToString
(b bool)
common/util.go:25
↓ 5 callers
Method
Write
(b []byte)
dialer/transport/ws/conn.go:35
↓ 5 callers
Method
saveSocketInfo
(pid int, socketFD int, metadata SocketMetadata)
tracer/tracer.go:225
↓ 4 callers
Method
AllocProjection
(target string)
proxy/proxy.go:45
↓ 4 callers
Method
Dial
(network, addr string)
dialer/direct.go:24
↓ 4 callers
Function
GetDialerFromLink
(nodeLink string, opt *dialer.GlobalOption, testNode bool, testURL string)
cmd/dialer.go:53
↓ 4 callers
Method
GetProjection
(ip netip.Addr)
proxy/proxy.go:57
↓ 4 callers
Function
SetValueHierarchicalMap
(m map[string]interface{}, key string, val interface{})
config/bind.go:112
↓ 4 callers
Method
SupportUDP
()
dialer/dialer.go:41
↓ 4 callers
Method
Wait
()
tracer/tracer.go:98
↓ 4 callers
Function
inst
(regs *syscall.PtraceRegs)
tracer/syscall_linux_arm.go:75
↓ 3 callers
Function
IPToBin
(ip net.IP)
infra/ip_mtu_trie/ip_mtu_trie.go:89
↓ 3 callers
Method
Match
(str string)
infra/trie/trie.go:92
↓ 3 callers
Function
New
(dict []string)
infra/trie/trie.go:31
↓ 3 callers
Method
Read
(b []byte)
dialer/transport/simpleobfs/tls.go:55
↓ 3 callers
Method
Remove
(key string)
proxy/udp_conn.go:53
↓ 3 callers
Method
Test
(ctx context.Context, url string)
dialer/dialer.go:57
↓ 3 callers
Function
completeKey
(key string)
cmd/config.go:125
↓ 3 callers
Function
getConfig
(log *logrus.Logger, bindToConfig bool, newViper func() *viper.Viper, flagCmd *cobra.Command)
cmd/config.go:145
↓ 3 callers
Function
getIovec
(base *byte, l int)
tracer/syscall_linux_arm64.go:159
↓ 3 callers
Method
getSocketInfo
(pid int, socketFD int)
tracer/tracer.go:214
↓ 3 callers
Function
ptrace
(request int, pid int, addr uintptr, data uintptr)
tracer/syscall.go:15
↓ 2 callers
Method
Alloc
(target string)
proxy/ip_mapper.go:8
↓ 2 callers
Function
Argument
(regs *syscall.PtraceRegs, order int)
tracer/syscall.go:7
↓ 2 callers
Method
Bind
(iface interface{})
config/bind.go:32
↓ 2 callers
Method
CloseWrite
()
proxy/tcp.go:37
↓ 2 callers
Method
Dialer
()
dialer/shadowsocks/shadowsocks.go:54
↓ 2 callers
Method
Dialer
()
dialer/http/http.go:115
↓ 2 callers
Method
Dialer
()
dialer/socks/socks.go:49
↓ 2 callers
Method
Dialer
()
dialer/trojan/trojan.go:61
↓ 2 callers
Method
Dialer
()
dialer/v2ray/v2ray.go:85
↓ 2 callers
Method
Dialer
()
dialer/shadowsocksr/shadowsocksr.go:51
↓ 2 callers
Function
GetDialerFromSubscriptionLastNodeCache
(opt *dialer.GlobalOption, testNode bool, testURL string)
cmd/dialer.go:249
↓ 2 callers
Function
GetValueHierarchicalStruct
(m interface{}, key string)
config/bind.go:145
↓ 2 callers
Method
Insert
pass val=nil for stating it is establishing
proxy/udp_conn.go:47
↓ 2 callers
Method
Link
()
dialer/dialer.go:53
↓ 2 callers
Method
ListenUDP
(addr string)
proxy/proxy.go:120
↓ 2 callers
Function
MapToKV
(m map[string]interface{})
common/util.go:62
↓ 2 callers
Function
NewBinder
(viper *viper.Viper)
config/bind.go:24
↓ 2 callers
Function
NewDirect
(fullCone bool)
dialer/direct.go:17
↓ 2 callers
Function
NewFromLink
(name string, link string, opt *GlobalOption)
dialer/dialer.go:92
↓ 2 callers
Function
NewTls
NewTls returns a Tls infra.
dialer/transport/tls/tls.go:22
↓ 2 callers
Function
NewWs
NewWs returns a Ws infra.
dialer/transport/ws/ws.go:23
↓ 2 callers
Method
URL
()
dialer/http/http.go:124
↓ 2 callers
Function
WriteConfig
(settings map[string]interface{}, configPath string)
cmd/config.go:113
↓ 2 callers
Function
arguments
(regs *syscall.PtraceRegs)
tracer/syscall_linux_arm.go:36
↓ 2 callers
Method
bindKey
(key string, expr string)
config/bind.go:107
↓ 2 callers
Function
cacheSubscriptionNode
(log *logrus.Logger, d *dialer.Dialer)
cmd/dialer.go:165
↓ 2 callers
Method
checkSocket
(pid int, fd uint64)
tracer/stop_handler.go:250
↓ 2 callers
Function
forwardDNSMessage
(tgt string, msg []byte)
proxy/udp.go:262
↓ 2 callers
Method
getArgsFromStorehouse
(pid, inst int)
tracer/stop_handler.go:16
↓ 2 callers
Method
handleINet4
(socketInfo *SocketMetadata, bSockAddr []byte)
tracer/stop_handler.go:311
↓ 2 callers
Method
handleINet6
(socketInfo *SocketMetadata, bSockAddr []byte)
tracer/stop_handler.go:368
↓ 2 callers
Function
newNode
()
infra/trie/trie.go:24
↓ 2 callers
Function
pokeAddrToArgument
(pid int, regs *syscall.PtraceRegs, bAddrToPoke []byte, pSockAddr uintptr, orderSockAddrLen int)
tracer/stop_handler.go:234
↓ 2 callers
Method
portHackTo
(socketInfo *SocketMetadata)
tracer/stop_handler.go:272
↓ 2 callers
Function
pullDialersFromSubscription
(log *logrus.Logger, opt *dialer.GlobalOption, subscription string)
cmd/subscription.go:117
↓ 2 callers
Method
read
(b []byte, discardN int)
dialer/transport/simpleobfs/tls.go:30
↓ 2 callers
Method
removeProcessSocketInfo
(pid int)
tracer/tracer.go:244
↓ 2 callers
Function
returnValueInt
(regs *syscall.PtraceRegs)
tracer/syscall_linux_arm.go:64
↓ 1 callers
Function
AutoSu
()
cmd/infra/su.go:11
↓ 1 callers
Function
CheckPtraceCapability
()
cmd/infra/capability_unix.go:31
↓ 1 callers
Function
ConfigHome
()
cmd/config.go:133
↓ 1 callers
Function
Execute
Execute executes the root command.
cmd/cmd.go:149
↓ 1 callers
Method
ExportToURL
()
dialer/shadowsocks/shadowsocks.go:266
↓ 1 callers
Method
ExportToURL
()
dialer/socks/socks.go:131
↓ 1 callers
Method
ExportToURL
()
dialer/trojan/trojan.go:219
↓ 1 callers
Method
ExportToURL
()
dialer/v2ray/v2ray.go:363
↓ 1 callers
Method
ExportToURL
()
dialer/shadowsocksr/shadowsocksr.go:171
↓ 1 callers
Function
FuzzyDecode
(to interface{}, val string)
config/bind.go:171
↓ 1 callers
Function
GetDialer
(log *logrus.Logger)
cmd/dialer.go:29
↓ 1 callers
Function
GetDialerFromInput
(opt *dialer.GlobalOption, testNode bool, testURL string)
cmd/dialer.go:70
↓ 1 callers
Function
GetDialerFromSubscription
(log *logrus.Logger, opt *dialer.GlobalOption, testNode bool, testURL string)
cmd/dialer.go:82
↓ 1 callers
Method
GetMTU
(ip net.IP)
infra/ip_mtu_trie/ip_mtu_trie.go:31
↓ 1 callers
Method
GetOrBuildUDPConn
GetOrBuildUDPConn get a UDP conn from the mapping.
proxy/udp.go:187
↓ 1 callers
Function
GetPtraceScope
()
cmd/infra/capability_unix.go:19
↓ 1 callers
Method
GetRealIP
(fakeIP netip.Addr)
proxy/proxy.go:72
↓ 1 callers
Method
ListenAndServe
ListenAndServe will block the goroutine.
proxy/proxy.go:77
↓ 1 callers
Method
ListenTCP
(addr string)
proxy/proxy.go:99
↓ 1 callers
Function
MakeStorehouse
()
tracer/storehouse.go:5
↓ 1 callers
Function
MustGetMapKeys
(m interface{})
common/util.go:119
↓ 1 callers
Function
New
(logger *logrus.Logger, dialer proxy.Dialer)
proxy/proxy.go:32
↓ 1 callers
Function
New
(ctx context.Context, name string, argv []string, attr *os.ProcAttr, dialer *dialer.Dialer, ignoreUDP bool, ig
tracer/tracer.go:38
↓ 1 callers
Function
NewFromClash
(clashObj *yaml.Node, opt *GlobalOption)
dialer/dialer.go:108
next →
1–100 of 222, ranked by callers