Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ClashDotNetFramework/experimental-clash
/ functions
Functions
1,333 in github.com/ClashDotNetFramework/experimental-clash
⨍
Functions
1,333
◇
Types & classes
299
↓ 7 callers
Function
serializesSocksAddr
(metadata *C.Metadata)
adapter/outbound/util.go:21
↓ 6 callers
Method
Encode
(buf *bytes.Buffer, b []byte)
transport/ssr/protocol/protocol.go:26
↓ 6 callers
Method
GetWithExpire
GetWithExpire element in Cache with Expire Time
common/cache/cache.go:48
↓ 6 callers
Method
MMDB
()
constant/path.go:54
↓ 6 callers
Function
New
New return *Cache
common/cache/cache.go:96
↓ 6 callers
Function
NewProxy
(adapter C.ProxyAdapter)
adapter/adapter.go:163
↓ 6 callers
Function
NewShadowSocks
(option ShadowSocksOption)
adapter/outbound/shadowsocks.go:108
↓ 6 callers
Method
Now
()
adapter/outboundgroup/urltest.go:33
↓ 6 callers
Method
Put
Put element in Cache with its ttl
common/cache/cache.go:25
↓ 6 callers
Method
SetReadDeadline
(t time.Time)
transport/gun/gun.go:153
↓ 6 callers
Method
SupportUDP
()
constant/adapters.go:82
↓ 6 callers
Method
Write
(b []byte)
transport/v2ray-plugin/mux.go:106
↓ 6 callers
Function
ipToUint
(ip net.IP)
component/fakeip/pool.go:117
↓ 6 callers
Function
iterator
(item []interface{})
common/observable/observable_test.go:12
↓ 6 callers
Function
register
(name string, c protocolCreator, o int)
transport/ssr/protocol/protocol.go:38
↓ 6 callers
Function
register
(name string, c obfsCreator, o int)
transport/ssr/obfs/obfs.go:30
↓ 5 callers
Method
Alive
()
constant/adapters.go:111
↓ 5 callers
Method
Delete
Delete removes the value associated with a key.
common/cache/lrucache.go:191
↓ 5 callers
Method
Get
()
transport/snell/pool.go:17
↓ 5 callers
Method
IsContain
(ip net.IP)
component/trie/ipcidr_trie.go:50
↓ 5 callers
Function
ListenPacket
(ctx context.Context, network, address string, options ...Option)
component/dialer/dialer.go:38
↓ 5 callers
Function
NewBase
(opt BaseOption)
adapter/outbound/base.go:91
↓ 5 callers
Function
NewSnell
(option SnellOption)
adapter/outbound/snell.go:88
↓ 5 callers
Function
NewSocket
NewSocket receive TCP inbound and return ConnContext
adapter/inbound/socket.go:13
↓ 5 callers
Function
NewTrojan
(option TrojanOption)
adapter/outbound/trojan.go:155
↓ 5 callers
Function
ParseAddr
ParseAddr parses the address in string s. Returns nil if failed.
transport/socks5/socks5.go:331
↓ 5 callers
Function
ParseAddrToSocksAddr
ParseAddrToSocksAddr parse a socks addr from net.addr This is a fast path of ParseAddr(addr.String())
transport/socks5/socks5.go:369
↓ 5 callers
Function
ResolveIP
ResolveIP with a host, return ip
component/resolver/resolver.go:138
↓ 5 callers
Function
ResolveInterface
(name string)
component/iface/iface.go:25
↓ 5 callers
Method
SetWithExpire
SetWithExpire stores the interface{} representation of a response for a given key and given expires. The expires time will round to second.
common/cache/lrucache.go:126
↓ 5 callers
Function
StreamGunWithTransport
(transport *http2.Transport, cfg *Config)
transport/gun/gun.go:197
↓ 5 callers
Method
UDPAddr
()
constant/metadata.go:91
↓ 5 callers
Function
WithAge
WithAge defined element max age (second)
common/cache/lrucache.go:32
↓ 5 callers
Method
Write
(b []byte)
adapter/outbound/reject.go:43
↓ 5 callers
Method
WriteTo
(b []byte, addr net.Addr)
transport/trojan/trojan.go:205
↓ 5 callers
Function
benchmarkProxy
(b *testing.B, proxy C.ProxyAdapter)
test/clash_test.go:628
↓ 5 callers
Method
check
()
adapter/provider/healthcheck.go:61
↓ 5 callers
Method
decode
(name string, data interface{}, val reflect.Value)
common/structure/structure.go:71
↓ 5 callers
Method
fast
(touch bool)
adapter/outboundgroup/urltest.go:68
↓ 5 callers
Method
findAliveProxy
(touch bool)
adapter/outboundgroup/fallback.go:83
↓ 5 callers
Function
genAddr
(host string, port int, allowLan bool)
listener/listener.go:323
↓ 5 callers
Function
pointerOrDefault
(p *int, def int)
hub/route/configs.go:45
↓ 5 callers
Function
portIsZero
(addr string)
listener/listener.go:315
↓ 5 callers
Method
selectedProxy
(touch bool)
adapter/outboundgroup/selector.go:85
↓ 4 callers
Method
Cache
()
constant/path.go:62
↓ 4 callers
Method
Chains
()
constant/adapters.go:40
↓ 4 callers
Method
CloneTo
(store)
component/fakeip/pool.go:20
↓ 4 callers
Function
Fatalln
(format string, v ...interface{})
log/log.go:56
↓ 4 callers
Method
LastDelay
()
constant/adapters.go:113
↓ 4 callers
Function
Listen
(network, address string)
test/util.go:9
↓ 4 callers
Method
Name
()
rule/provider/fetcher.go:33
↓ 4 callers
Function
New
(factory Factory, options ...Option)
component/pool/pool.go:101
↓ 4 callers
Function
New
(ctx context.Context, opts ...Option)
common/batch/batch.go:92
↓ 4 callers
Function
NewAllocator
NewAllocator initiates a []byte allocator for frames less than 65536 bytes, the waste(memory fragmentation) of space allocation is guaranteed to be no
common/pool/alloc.go:21
↓ 4 callers
Method
PacketConn
()
constant/context.go:22
↓ 4 callers
Method
PickIPv4Addr
(destination net.IP)
component/iface/iface.go:77
↓ 4 callers
Method
Snapshot
()
tunnel/statistic/manager.go:57
↓ 4 callers
Function
StreamWebsocketConn
(conn net.Conn, c *WebsocketConfig)
transport/vmess/websocket.go:295
↓ 4 callers
Method
String
()
transport/vless/config.pb.go:41
↓ 4 callers
Method
Update
()
constant/provider/interface.go:62
↓ 4 callers
Function
WithStale
WithStale decide whether Stale return is enabled. If this feature is enabled, element will not get Evicted according to `WithAge`.
common/cache/lrucache.go:47
↓ 4 callers
Method
asyncExchange
(ctx context.Context, client []dnsClient, msg *D.Msg)
dns/resolver.go:294
↓ 4 callers
Method
deleteElement
(le *list.Element)
common/cache/lrucache.go:210
↓ 4 callers
Function
exchange
(address, domain string, tp uint16)
test/dns_test.go:11
↓ 4 callers
Method
hasChild
(s string)
component/trie/node.go:13
↓ 4 callers
Method
hmacSHA1
(data []byte)
transport/ssr/obfs/tls1.2_ticket_auth.go:205
↓ 4 callers
Function
hostWithDefaultPort
(host string, defPort string)
config/config.go:494
↓ 4 callers
Function
newLog
(logLevel LogLevel, format string, v ...interface{})
log/log.go:94
↓ 4 callers
Method
next
()
transport/ssr/protocol/base.go:36
↓ 4 callers
Function
parseAddr
(addr string)
adapter/inbound/util.go:83
↓ 4 callers
Function
parseAndApply
(cfgStr string)
test/clash_test.go:136
↓ 4 callers
Function
parseNameServer
(servers []string)
config/config.go:511
↓ 4 callers
Function
parseVmessAddr
(metadata *C.Metadata)
adapter/outbound/vmess.go:337
↓ 4 callers
Function
print
(data *Event)
log/log.go:77
↓ 4 callers
Function
readNativeUint32
(b []byte)
component/process/process_windows.go:190
↓ 4 callers
Method
resolveIP
(host string, dnsType uint16)
dns/resolver.go:255
↓ 4 callers
Function
responseWith
(request *http.Request, statusCode int)
listener/http/proxy.go:122
↓ 4 callers
Function
transform
(servers []NameServer, resolver *Resolver)
dns/util.go:115
↓ 4 callers
Function
uintToIP
(v uint32)
component/fakeip/pool.go:125
↓ 3 callers
Function
ApplyConfig
ApplyConfig dispatch configure to all parts
hub/executor/executor.go:67
↓ 3 callers
Function
Cache
Cache return singleton of CacheFile
component/profile/cachefile/cache.go:201
↓ 3 callers
Function
ClientHandshake
ClientHandshake fast-tracks SOCKS initialization to get target address to connect on client side.
transport/socks5/socks5.go:208
↓ 3 callers
Function
EncodeUDPPacket
(addr Addr, payload []byte)
transport/socks5/socks5.go:428
↓ 3 callers
Method
GetFakeip
(key []byte)
component/profile/cachefile/cache.go:118
↓ 3 callers
Method
Go
Go calls the given function in a new goroutine. The first call to return a nil error cancels the group; its result will be returned by Wait.
common/picker/picker.go:61
↓ 3 callers
Method
HomeDir
()
constant/path.go:37
↓ 3 callers
Method
IsSocks4A
()
transport/socks4/socks4.go:52
↓ 3 callers
Method
Name
()
adapter/provider/fetcher.go:32
↓ 3 callers
Function
NewConnContext
(conn net.Conn, metadata *C.Metadata)
context/conn.go:17
↓ 3 callers
Function
NewDirect
()
adapter/outbound/direct.go:38
↓ 3 callers
Function
NewHTTP2Client
(dialFn DialFn, tlsConfig *tls.Config)
transport/gun/gun.go:168
↓ 3 callers
Function
NewIpCidrNode
(mark bool, maxValue uint32)
component/trie/ipcidr_node.go:13
↓ 3 callers
Function
ParseWithBytes
ParseWithBytes config with buffer
hub/executor/executor.go:62
↓ 3 callers
Function
ReadAddr
(r io.Reader, b []byte)
transport/socks5/socks5.go:272
↓ 3 callers
Method
RemoteAddr
()
transport/gun/gun.go:152
↓ 3 callers
Method
RemoteAddr
()
transport/vmess/websocket.go:113
↓ 3 callers
Function
ResolveIPWithResolver
ResolveIPWithResolver same as ResolveIP, but with a resolver
component/resolver/resolver.go:110
↓ 3 callers
Function
ResolveIPv4
ResolveIPv4 with a host, return ipv4
component/resolver/resolver.go:42
↓ 3 callers
Method
Resolved
()
constant/metadata.go:87
↓ 3 callers
Method
SetType
SetType set type of response
context/dns.go:34
← previous
next →
101–200 of 1,333, ranked by callers