Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appshubcc/Bettbox
/ functions
Functions
6,206 in github.com/appshubcc/Bettbox
⨍
Functions
6,206
◇
Types & classes
1,277
↓ 23 callers
Method
Listen
(tunnel Tunnel)
core/Clash.Meta/constant/listener.go:22
↓ 21 callers
Method
Close
()
core/Clash.Meta/transport/hysteria/core/client.go:345
↓ 21 callers
Method
Has
Has query for a key and return whether it presents in the DomainSet.
core/Clash.Meta/component/trie/domain_set.go:74
↓ 21 callers
Method
LocalAddr
()
core/Clash.Meta/transport/openvpn/control.go:19
↓ 21 callers
Method
Start
()
core/Clash.Meta/ntp/ntp/service.go:55
↓ 20 callers
Method
Config
()
core/Clash.Meta/constant/listener.go:26
↓ 20 callers
Method
IsContainForString
(ipString string)
core/Clash.Meta/component/trie/ipcidr_trie.go:73
↓ 19 callers
Method
Broadcast
Broadcast return the last ip
core/Clash.Meta/component/fakeip/pool.go:80
↓ 19 callers
Function
NewBase
(options *BaseOption)
core/Clash.Meta/listener/inbound/base.go:23
↓ 19 callers
Method
NewConn
(conn C.Conn)
core/Clash.Meta/component/loopback/detector.go:39
↓ 19 callers
Method
Range
Range calls f sequentially for each key and value present in the map. If f returns false, range stops the iteration. Range does not necessarily corre
core/Clash.Meta/common/xsync/map.go:988
↓ 18 callers
Method
Clone
()
core/Clash.Meta/constant/metadata.go:285
↓ 18 callers
Method
LocalAddr
LocalAddr returns the source IP/Port of packet
core/Clash.Meta/constant/adapters.go:267
↓ 18 callers
Method
Search
Search is the most important part of the Trie. Priority as: 1. static part 2. wildcard domain 2. dot wildcard domain
core/Clash.Meta/component/trie/domain.go:97
↓ 18 callers
Function
WriteKIPMessage
(w io.Writer, typ byte, payload []byte)
core/Clash.Meta/transport/sudoku/kip.go:56
↓ 18 callers
Function
safeConnClose
(c net.Conn, err error)
core/Clash.Meta/adapter/outbound/util.go:74
↓ 17 callers
Method
DialContext
(ctx context.Context, metadata *C.Metadata)
core/Clash.Meta/transport/tuic/types/type.go:24
↓ 17 callers
Method
Match
(metadata *C.Metadata, helper C.RuleMatchHelper)
core/Clash.Meta/rules/provider/provider.go:48
↓ 17 callers
Method
NewListener
(l net.Listener)
core/Clash.Meta/listener/reality/reality.go:90
↓ 17 callers
Method
ResolveUDP
(ctx context.Context, metadata *C.Metadata)
core/Clash.Meta/adapter/outbound/base.go:26
↓ 17 callers
Method
Resolved
()
core/Clash.Meta/constant/metadata.go:261
↓ 17 callers
Method
Stats
Stats returns statistics for the Map. Just like other map methods, this one is thread-safe. Yet it's an O(N) operation, so it should be used only for
core/Clash.Meta/common/xsync/map.go:1303
↓ 17 callers
Method
Unwrap
Unwrap return Rule
core/Clash.Meta/constant/rule.go:152
↓ 16 callers
Method
Adapter
()
core/Clash.Meta/constant/rule.go:129
↓ 16 callers
Method
Build
()
core/Clash.Meta/listener/inbound/mux.go:16
↓ 16 callers
Method
Cache
()
core/Clash.Meta/constant/path.go:189
↓ 16 callers
Method
Exist
(ip netip.Addr)
core/Clash.Meta/component/fakeip/pool.go:25
↓ 16 callers
Method
GetProxies
(touch bool)
core/Clash.Meta/adapter/outboundgroup/groupbase.go:122
↓ 16 callers
Method
IsEmpty
()
core/Clash.Meta/transport/anytls/skiplist/contianer.go:5
↓ 16 callers
Method
ListenConfig
()
core/Clash.Meta/listener/inbound/base.go:86
↓ 16 callers
Method
RawAddress
()
core/Clash.Meta/constant/listener.go:9
↓ 16 callers
Method
RemoteAddress
()
core/Clash.Meta/constant/metadata.go:217
↓ 16 callers
Method
Update
()
core/Clash.Meta/constant/provider/interface.go:72
↓ 16 callers
Function
isClosedChan
(c <-chan struct{})
core/Clash.Meta/common/net/deadline/pipe.go:71
↓ 16 callers
Function
testComparable
(t *testing.T, v T, v2 ...T)
core/Clash.Meta/common/maphash/maphash_test.go:278
↓ 15 callers
Method
Accept
()
core/Clash.Meta/listener/inbound/common_test.go:135
↓ 15 callers
Function
ClientAEADSeed
ClientAEADSeed returns a canonical "seed" that is stable between client private key material and server public key.
core/Clash.Meta/transport/sudoku/init.go:30
↓ 15 callers
Function
DefaultConfig
()
core/Clash.Meta/transport/sudoku/config.go:154
↓ 15 callers
Method
Peek
Peek returns the next n bytes without advancing the reader.
core/Clash.Meta/common/net/bufconn.go:49
↓ 15 callers
Method
Rand
()
core/Clash.Meta/transport/xhttp/config.go:317
↓ 15 callers
Method
RuleType
()
core/Clash.Meta/constant/rule.go:127
↓ 15 callers
Method
getChild
(s string)
core/Clash.Meta/component/trie/node.go:14
↓ 14 callers
Method
Buffered
()
core/Clash.Meta/common/net/bufconn.go:70
↓ 14 callers
Function
ClientHandshake
ClientHandshake performs the client-side Sudoku handshake (no target request).
core/Clash.Meta/transport/sudoku/handshake.go:289
↓ 14 callers
Method
GetTransport
()
core/Clash.Meta/transport/xhttp/reuse.go:193
↓ 14 callers
Method
Length
()
core/Clash.Meta/transport/anytls/session/frame.go:47
↓ 14 callers
Method
ListenPacketContext
(ctx context.Context, metadata *Metadata)
core/Clash.Meta/constant/adapters.go:137
↓ 14 callers
Function
Max
(a, b T)
core/Clash.Meta/transport/tuic/congestion_v2/minmax_go120.go:7
↓ 14 callers
Method
NewDialer
()
core/Clash.Meta/listener/inbound/common_test.go:124
↓ 14 callers
Method
NewPacket
(ctx context.Context, key netip.AddrPort, buffer *buf.Buffer, metadata M.Metadata, init func(natConn network.P
core/Clash.Meta/listener/sing/sing.go:215
↓ 14 callers
Method
Path
()
core/Clash.Meta/constant/provider/interface.go:40
↓ 14 callers
Method
ResetConnection
()
core/Clash.Meta/dns/resolver.go:25
↓ 14 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
core/Clash.Meta/transport/xhttp/server.go:227
↓ 14 callers
Method
SetDeadline
(t time.Time)
core/Clash.Meta/transport/hysteria/core/client.go:347
↓ 14 callers
Method
WaitReadFrom
()
core/Clash.Meta/common/net/packet/packet.go:10
↓ 14 callers
Function
WithPresize
WithPresize configures new Map instance with capacity enough to hold sizeHint entries. The capacity is treated as the minimal capacity meaning that th
core/Clash.Meta/common/xsync/map.go:188
↓ 14 callers
Function
cloneBytes
(in []byte)
core/Clash.Meta/transport/openvpn/tlscrypt.go:124
↓ 14 callers
Function
testWriteComparable
(t *testing.T, v T, v2 ...T)
core/Clash.Meta/common/maphash/maphash_test.go:365
↓ 14 callers
Function
transportID
(rt *ReuseTransport)
core/Clash.Meta/transport/xhttp/reuse_test.go:26
↓ 13 callers
Method
AddrList
()
core/Clash.Meta/constant/listener.go:17
↓ 13 callers
Method
Data
Data get the payload of UDP Packet
core/Clash.Meta/constant/adapters.go:255
↓ 13 callers
Method
Empty
Empty says if the ring buffer is empty.
core/Clash.Meta/transport/tuic/congestion_v2/ringbuffer.go:28
↓ 13 callers
Function
EncodeAddress
(rawAddr string)
core/Clash.Meta/transport/sudoku/address.go:12
↓ 13 callers
Method
HandleTCPConn
HandleTCPConn will handle a tcp connection blocking
core/Clash.Meta/constant/tunnel.go:7
↓ 13 callers
Method
IVSize
()
core/Clash.Meta/transport/shadowsocks/shadowstream/cipher.go:13
↓ 13 callers
Method
LoadOrStore
LoadOrStore returns the existing value for the key if present. Otherwise, it stores and returns the given value. The loaded result is true if the valu
core/Clash.Meta/common/xsync/map.go:461
↓ 13 callers
Method
LocalAddr
()
core/Clash.Meta/transport/hysteria/core/client.go:346
↓ 13 callers
Function
NewAEAD
(ctx, key []byte, useAES bool)
core/Clash.Meta/transport/vless/encryption/common.go:152
↓ 13 callers
Method
Search
Return the search result and whether to match the parameter `isDomain`
core/Clash.Meta/component/resolver/host.go:32
↓ 12 callers
Method
Decrypt
(packet []byte)
core/Clash.Meta/transport/openvpn/data.go:242
↓ 12 callers
Method
End
()
core/Clash.Meta/common/utils/range.go:46
↓ 12 callers
Method
ErrNotSafePath
(path string)
core/Clash.Meta/constant/path.go:107
↓ 12 callers
Method
Go
(key string, fn func() (T, error))
core/Clash.Meta/common/batch/batch.go:41
↓ 12 callers
Method
Index
Index returns the index into the Deque of the first item satisfying f(item), or -1 if none do. If q is nil, then -1 is always returned. Search is line
core/Clash.Meta/common/deque/deque.go:486
↓ 12 callers
Method
LoadAndDelete
LoadAndDelete deletes the value for a key, returning the previous value if any. The loaded result reports whether the key was present.
core/Clash.Meta/common/xsync/map.go:554
↓ 12 callers
Function
NewCTR
(key, iv []byte)
core/Clash.Meta/transport/vless/encryption/xor.go:11
↓ 12 callers
Function
NewHttpTestTunnel
()
core/Clash.Meta/listener/inbound/common_test.go:173
↓ 12 callers
Function
ParseRange
(s string, fallback string)
core/Clash.Meta/transport/xhttp/config.go:324
↓ 12 callers
Method
Pop
Pop returns the head of items.
core/Clash.Meta/common/queue/queue.go:25
↓ 12 callers
Method
RawAddress
RawAddress implements constant.InboundListener
core/Clash.Meta/listener/inbound/base.go:65
↓ 12 callers
Method
RemoteAddress
()
core/Clash.Meta/transport/openvpn/config.go:72
↓ 12 callers
Method
Serve
()
core/Clash.Meta/transport/tuic/server.go:46
↓ 12 callers
Method
Wait
()
core/Clash.Meta/transport/xhttp/server.go:75
↓ 12 callers
Method
Wait
Wait returns a channel that is closed when the deadline is exceeded.
core/Clash.Meta/common/net/deadline/pipe.go:65
↓ 12 callers
Function
appendPackedGroup
(out []byte, layout *byteLayout, rng *sudokuRand, paddingThreshold uint64, padPool []byte, group byte)
core/Clash.Meta/transport/sudoku/obfs/sudoku/packed.go:141
↓ 12 callers
Function
getConfig
export getConfig
core/lib.go:81
↓ 12 callers
Function
testInboundVMess
(t *testing.T, inboundOptions inbound.VmessOption, outboundOptions outbound.VmessOption)
core/Clash.Meta/listener/inbound/vmess_test.go:13
↓ 11 callers
Method
Close
()
core/Clash.Meta/tunnel/statistic/tracker.go:20
↓ 11 callers
Method
Count
()
core/Clash.Meta/rules/provider/provider.go:49
↓ 11 callers
Method
Dial
()
core/Clash.Meta/transport/gun/gun.go:410
↓ 11 callers
Method
DoTest
(t *testing.T, proxy C.ProxyAdapter)
core/Clash.Meta/listener/inbound/common_test.go:111
↓ 11 callers
Method
HandleUDPPacket
HandleUDPPacket will handle a udp packet nonblocking
core/Clash.Meta/constant/tunnel.go:9
↓ 11 callers
Method
Len
Len returns the number of elements currently stored in the queue. If q is nil, q.Len() returns zero.
core/Clash.Meta/common/deque/deque.go:55
↓ 11 callers
Function
NewTLSCrypt
(staticKey []byte, client bool)
core/Clash.Meta/transport/openvpn/tlscrypt.go:31
↓ 11 callers
Method
Prepare
()
core/Clash.Meta/transport/openvpn/config.go:120
↓ 11 callers
Method
ReadPacket
()
core/Clash.Meta/transport/masque/masque.go:31
↓ 11 callers
Method
SetRemoteAddress
(rawAddress string)
core/Clash.Meta/constant/metadata.go:343
↓ 11 callers
Function
benchmarkComparable
(b *testing.B, v T)
core/Clash.Meta/common/maphash/maphash_test.go:496
↓ 11 callers
Function
closeIdleConnections
(client *http.Client)
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:325
↓ 11 callers
Method
hmac
(key []byte, parts ...[]byte)
core/Clash.Meta/transport/openvpn/tlscrypt.go:106
← previous
next →
101–200 of 6,206, ranked by callers