Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ClashDotNetFramework/experimental-clash
/ functions
Functions
1,333 in github.com/ClashDotNetFramework/experimental-clash
⨍
Functions
1,333
◇
Types & classes
299
↓ 92 callers
Method
Error
()
transport/socks5/socks5.go:17
↓ 62 callers
Method
Read
()
constant/provider/interface.go:31
↓ 61 callers
Method
Close
()
constant/listener.go:6
↓ 51 callers
Method
Get
()
component/pool/pool.go:71
↓ 49 callers
Method
Write
(b []byte)
transport/ssr/protocol/stream.go:37
↓ 48 callers
Method
Search
(metadata *C.Metadata)
rule/provider/provider.go:61
↓ 47 callers
Method
String
()
tunnel/mode.go:58
↓ 42 callers
Method
Name
()
constant/adapters.go:79
↓ 39 callers
Method
Now
()
tunnel/statistic/manager.go:53
↓ 39 callers
Function
Put
(buf []byte)
common/pool/pool.go:19
↓ 39 callers
Method
Resolve
Resolve return a absolute path or a relative path with homedir
constant/path.go:46
↓ 37 callers
Method
Close
()
tunnel/statistic/tracker.go:15
↓ 36 callers
Method
String
()
log/level.go:61
↓ 34 callers
Method
Write
(b []byte)
transport/vmess/conn.go:43
↓ 33 callers
Method
Error
Error return the first error (if all success return nil)
common/picker/picker.go:55
↓ 31 callers
Method
DialOptions
DialOptions return []dialer.Option from struct
adapter/outbound/base.go:65
↓ 31 callers
Method
Type
()
constant/adapters.go:80
↓ 30 callers
Method
Do
Do single.Do likes sync.singleFlight lint:ignore ST1008 it likes sync.singleFlight
common/singledo/singledo.go:29
↓ 30 callers
Function
Get
(size int)
common/pool/pool.go:15
↓ 28 callers
Method
Write
(b []byte)
transport/simple-obfs/tls.go:82
↓ 27 callers
Method
Len
Len returns the number of items in this queue.
common/queue/queue.go:59
↓ 27 callers
Method
Sum
(b []byte)
common/murmur3/murmur32.go:44
↓ 26 callers
Function
Infoln
(format string, v ...interface{})
log/log.go:32
↓ 26 callers
Function
Warnln
(format string, v ...interface{})
log/log.go:38
↓ 25 callers
Method
Error
()
hub/route/errors.go:16
↓ 25 callers
Method
Next
()
transport/ssr/tools/random.go:14
↓ 24 callers
Function
cleanContainer
(id string)
test/docker_test.go:36
↓ 24 callers
Function
startContainer
(cfg *container.Config, hostCfg *container.HostConfig, name string)
test/docker_test.go:13
↓ 23 callers
Method
Set
Set stores the interface{} representation of a response for a given key.
common/cache/lrucache.go:116
↓ 22 callers
Method
AddIpCidrForString
(ipCidr string)
component/trie/ipcidr_trie.go:41
↓ 22 callers
Method
Join
(c tracker)
tunnel/statistic/manager.go:35
↓ 22 callers
Method
Set
(key string, pc C.PacketConn)
component/nat/table.go:13
↓ 22 callers
Method
Write
(b []byte)
transport/gun/gun.go:121
↓ 20 callers
Function
DialContext
(ctx context.Context, network, address string, options ...Option)
component/dialer/dialer.go:11
↓ 20 callers
Method
Lookup
Lookup return a fake ip with host
component/fakeip/pool.go:36
↓ 20 callers
Function
testSuit
(t *testing.T, proxy C.ProxyAdapter)
test/clash_test.go:561
↓ 18 callers
Method
Write
(b []byte)
transport/snell/pool.go:60
↓ 16 callers
Method
Get
Get element in Cache, and drop when it expired
common/cache/cache.go:33
↓ 16 callers
Function
tcpKeepAlive
(c net.Conn)
adapter/outbound/util.go:14
↓ 15 callers
Method
Decode
Decode transform a map[string]interface{} to a struct
common/structure/structure.go:32
↓ 15 callers
Method
Get
Get a []byte from pool with most appropriate cap
common/pool/alloc.go:34
↓ 15 callers
Function
NewLRUCache
NewLRUCache creates an LruCache
common/cache/lrucache.go:68
↓ 15 callers
Method
Put
(item interface{})
component/pool/pool.go:75
↓ 15 callers
Method
getChild
(s string)
component/trie/node.go:9
↓ 14 callers
Function
Errorln
(format string, v ...interface{})
log/log.go:44
↓ 14 callers
Method
Insert
Insert adds a node to the trie. Support 1. www.example.com 2. *.example.com 3. subdomain.*.example.com 4. .example.com 5. +.example.com
component/trie/domain.go:54
↓ 14 callers
Function
NewConn
(c net.Conn, a C.ProxyAdapter)
adapter/outbound/base.go:117
↓ 14 callers
Method
RemoteAddress
()
constant/metadata.go:79
↓ 14 callers
Method
String
()
dns/util.go:67
↓ 14 callers
Method
Write
(b []byte)
transport/ssr/obfs/tls1.2_ticket_auth.go:87
↓ 13 callers
Function
AppendRandBytes
(b *bytes.Buffer, length int)
transport/ssr/tools/bufPool.go:9
↓ 13 callers
Function
GetBuffer
()
common/pool/buffer.go:10
↓ 13 callers
Function
PutBuffer
(buf *bytes.Buffer)
common/pool/buffer.go:14
↓ 13 callers
Method
Reset
()
transport/vless/config.pb.go:32
↓ 13 callers
Function
newError
(msg string)
hub/route/errors.go:20
↓ 13 callers
Function
safeConnClose
(c net.Conn, err error)
adapter/outbound/util.go:54
↓ 12 callers
Method
Addr
()
constant/adapters.go:81
↓ 12 callers
Method
DialContext
DialContext return a C.Conn with protocol which contains multiplexing-related reuse logic (if any)
constant/adapters.go:97
↓ 12 callers
Method
Exist
(ip net.IP)
component/fakeip/pool.go:19
↓ 12 callers
Function
NewVmess
(option VmessOption)
adapter/outbound/vmess.go:266
↓ 11 callers
Method
Copy
Copy get the copy of queue.
common/queue/queue.go:50
↓ 11 callers
Function
Debugln
(format string, v ...interface{})
log/log.go:50
↓ 11 callers
Method
IsContainForString
(ipString string)
component/trie/ipcidr_trie.go:74
↓ 11 callers
Function
New
New returns a new, empty Trie.
component/trie/domain.go:127
↓ 11 callers
Method
Path
()
constant/provider/interface.go:32
↓ 11 callers
Method
StreamConn
(net.Conn)
transport/ssr/obfs/obfs.go:20
↓ 10 callers
Method
Address
()
constant/listener.go:5
↓ 10 callers
Method
Decode
(dst, src *bytes.Buffer)
transport/ssr/protocol/protocol.go:25
↓ 10 callers
Method
LocalAddr
LocalAddr returns the source IP/Port of packet
constant/adapters.go:183
↓ 10 callers
Function
NewSingle
(wait time.Duration)
common/singledo/singledo.go:62
↓ 10 callers
Function
WithSize
WithSize defined max length of LruCache
common/cache/lrucache.go:39
↓ 9 callers
Method
Delete
(key string)
component/nat/table.go:30
↓ 9 callers
Method
ListenPacketContext
(ctx context.Context, metadata *Metadata, opts ...dialer.Option)
constant/adapters.go:98
↓ 9 callers
Function
NewDecoder
NewDecoder return a Decoder by Option
common/structure/structure.go:24
↓ 9 callers
Method
Put
Put returns a []byte to pool for future use, which the cap must be exactly 2^n
common/pool/alloc.go:49
↓ 9 callers
Method
RawAddress
()
constant/listener.go:4
↓ 9 callers
Method
String
()
constant/rule.go:20
↓ 9 callers
Method
Subscribe
()
common/observable/observable.go:36
↓ 9 callers
Method
Wait
()
common/batch/batch.go:69
↓ 9 callers
Function
kdf
(key []byte, path ...string)
transport/vmess/header.go:29
↓ 8 callers
Method
AppendToChains
(adapter ProxyAdapter)
constant/adapters.go:41
↓ 8 callers
Method
Config
()
constant/path.go:41
↓ 8 callers
Function
HmacMD5
(key, data []byte)
transport/ssr/tools/crypto.go:11
↓ 8 callers
Method
Initial
()
constant/provider/interface.go:61
↓ 8 callers
Function
New
New return Pool instance
component/fakeip/pool.go:143
↓ 8 callers
Function
NewObservable
(any Iterable)
common/observable/observable.go:58
↓ 8 callers
Method
ReadFrom
(b []byte)
transport/ssr/protocol/packet.go:25
↓ 8 callers
Method
ReadFrom
(b []byte)
transport/trojan/trojan.go:209
↓ 8 callers
Method
Reset
()
common/murmur3/murmur.go:46
↓ 8 callers
Method
SourceAddress
()
constant/metadata.go:83
↓ 8 callers
Method
String
()
rule/provider/provider.go:46
↓ 8 callers
Function
newPacketConn
(pc net.PacketConn, a C.ProxyAdapter)
adapter/outbound/base.go:136
↓ 7 callers
Method
Go
(key string, fn func() (interface{}, error))
common/batch/batch.go:41
↓ 7 callers
Method
LookBack
LookBack return host with the fake ip
component/fakeip/pool.go:49
↓ 7 callers
Function
NewIpCidrTrie
()
component/trie/ipcidr_trie.go:21
↓ 7 callers
Method
Payload
()
constant/rule.go:53
↓ 7 callers
Method
RuleType
()
constant/rule.go:50
↓ 7 callers
Method
addChild
(s string, child *Node)
component/trie/node.go:17
↓ 7 callers
Function
getIpv6GroupValue
(high, low byte)
component/trie/ipcidr_trie.go:212
↓ 7 callers
Function
getProvidersProxies
(providers []provider.ProxyProvider, touch bool)
adapter/outboundgroup/common.go:14
next →
1–100 of 1,333, ranked by callers