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
↓ 5 callers
Method
Close
Close is used to close the session and all streams.
core/Clash.Meta/transport/anytls/session/session.go:109
↓ 5 callers
Method
Close
()
core/Clash.Meta/listener/inbound/mieru.go:95
↓ 5 callers
Method
Conn
()
core/Clash.Meta/constant/context.go:18
↓ 5 callers
Method
Decrypter
(salt []byte)
core/Clash.Meta/transport/shadowsocks/shadowaead/cipher.go:20
↓ 5 callers
Method
EmptyFallback
()
core/Clash.Meta/adapter/outboundgroup/groupbase.go:112
↓ 5 callers
Function
EncodeLength
(l int)
core/Clash.Meta/transport/vless/encryption/common.go:191
↓ 5 callers
Method
Front
Front returns the front element. It must not be called when the buffer is empty, that means that callers might need to check if there are elements in
core/Clash.Meta/transport/tuic/congestion_v2/ringbuffer.go:80
↓ 5 callers
Method
GetBytesInFlight
()
core/Clash.Meta/transport/tuic/congestion/bbr_sender.go:273
↓ 5 callers
Method
GetCongestionWindow
()
core/Clash.Meta/transport/tuic/congestion/cubic_sender.go:144
↓ 5 callers
Method
HandleSocket
HandleSocket like inbound.NewSocket combine with Tunnel.HandleTCPConn but also handel specialFqdn
core/Clash.Meta/listener/sing/util.go:12
↓ 5 callers
Method
HomeDir
()
core/Clash.Meta/constant/path.go:71
↓ 5 callers
Method
InSlowStart
()
core/Clash.Meta/transport/tuic/congestion/cubic_sender.go:140
↓ 5 callers
Method
IsFakeIP
(netip.Addr)
core/Clash.Meta/component/resolver/enhancer.go:10
↓ 5 callers
Method
IsL3Protocol
IsL3Protocol return ProxyAdapter working in L3 (tell dns module not pass the domain to avoid loopback)
core/Clash.Meta/constant/adapters.go:143
↓ 5 callers
Method
LastDelayForTestUrl
(url string)
core/Clash.Meta/constant/adapters.go:170
↓ 5 callers
Method
MatchDomain
(domain string)
core/Clash.Meta/constant/matcher.go:6
↓ 5 callers
Function
Min
(a, b T)
core/Clash.Meta/transport/tuic/congestion/minmax_go120.go:14
↓ 5 callers
Function
NewCommandHead
(TYPE CommandType)
core/Clash.Meta/transport/tuic/v5/protocol.go:66
↓ 5 callers
Function
NewNOT
(payload string, adapter string, parseRule common.ParseRuleFunc)
core/Clash.Meta/rules/logic/logic.go:37
↓ 5 callers
Function
NewPool
(factory func(context.Context) (*Snell, error))
core/Clash.Meta/transport/snell/pool.go:117
↓ 5 callers
Function
NewTableWithCustom
NewTableWithCustom initializes the uplink/probe Sudoku table using either predefined or directional layouts. Directional modes such as "up_ascii_down_
core/Clash.Meta/transport/sudoku/obfs/sudoku/table.go:39
↓ 5 callers
Method
Newest
Newest returns a pointer to the newest pair. It's meant to be used to iterate on the ordered map's pairs from the newest to the oldest, e.g.: for pair
core/Clash.Meta/common/orderedmap/orderedmap.go:183
↓ 5 callers
Method
Prev
Prev returns a pointer to the previous pair.
core/Clash.Meta/common/orderedmap/orderedmap.go:196
↓ 5 callers
Method
PushBack
PushBack adds a new element. If the ring buffer is full, its capacity is increased first.
core/Clash.Meta/transport/tuic/congestion_v2/ringbuffer.go:34
↓ 5 callers
Method
RangeRelaxed
RangeRelaxed calls f sequentially for each key and value present in the map. If f returns false, range stops the iteration. RangeRelaxed is a faster,
core/Clash.Meta/common/xsync/map.go:1056
↓ 5 callers
Function
ReadPacketWithHead
(head CommandHead, reader BufferedReader)
core/Clash.Meta/transport/tuic/v5/protocol.go:244
↓ 5 callers
Method
ReceiveDatagram
(_ context.Context)
core/Clash.Meta/transport/masque/client_h2.go:279
↓ 5 callers
Method
RemoteAddr
(host string)
core/Clash.Meta/transport/hysteria/utils/misc.go:48
↓ 5 callers
Method
Send
Send will send PacketAdapter nonblocking the implement must call UDPPacket.Drop() inside Send
core/Clash.Meta/constant/adapters.go:319
↓ 5 callers
Method
SendAck
(ctx context.Context)
core/Clash.Meta/transport/openvpn/control.go:101
↓ 5 callers
Method
SetRouteMark
(mark int)
core/Clash.Meta/adapter/inbound/listen.go:47
↓ 5 callers
Method
SupportNetwork
()
core/Clash.Meta/constant/sniffer/sniffer.go:6
↓ 5 callers
Method
Swap
Swap exchanges the two values at idxA and idxB. It panics if either index is out of range.
core/Clash.Meta/common/deque/deque.go:592
↓ 5 callers
Method
Unpack
(data []byte)
core/Clash.Meta/transport/hysteria/core/protocol.go:265
↓ 5 callers
Method
Valid
()
core/Clash.Meta/constant/metadata.go:311
↓ 5 callers
Method
Validate
()
core/Clash.Meta/transport/sudoku/config.go:74
↓ 5 callers
Method
Wait
Wait returns a channel that is closed when the deadline is exceeded.
core/Clash.Meta/transport/anytls/pipe/deadline.go:61
↓ 5 callers
Method
WritePacket
(b []byte)
core/Clash.Meta/transport/masque/masque.go:32
↓ 5 callers
Function
addControlToDialer
(d *net.Dialer, fn controlFn)
core/Clash.Meta/component/dialer/control.go:24
↓ 5 callers
Function
applyEarlyHandshakeOrUpgrade
(raw net.Conn, opts TunnelDialOptions)
core/Clash.Meta/transport/sudoku/obfs/httpmask/early_handshake.go:152
↓ 5 callers
Method
asyncExchange
(ctx context.Context, client []dnsClient, msg *D.Msg)
core/Clash.Meta/dns/resolver.go:376
↓ 5 callers
Method
bandwidthEstimate
Get the current bandwidth estimate. Note that Bandwidth is in bits per second.
core/Clash.Meta/transport/tuic/congestion_v2/bbr_sender.go:624
↓ 5 callers
Function
batchExchange
(ctx context.Context, clients []dnsClient, m *D.Msg)
core/Clash.Meta/dns/util.go:372
↓ 5 callers
Function
bearer
(r *http.Request)
core/Clash.Meta/listener/hysteria2_realm/validate.go:69
↓ 5 callers
Function
benchmarkProxy
(b *testing.B, proxy C.ProxyAdapter)
core/Clash.Meta/test/clash_test.go:609
↓ 5 callers
Method
checkRange
(i int)
core/Clash.Meta/common/deque/deque.go:604
↓ 5 callers
Method
closeNoSend
(err error)
core/Clash.Meta/transport/sudoku/multiplex/session.go:387
↓ 5 callers
Method
closedErr
()
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:550
↓ 5 callers
Function
contextIOError
(ctx context.Context, err error)
core/Clash.Meta/transport/openvpn/control.go:509
↓ 5 callers
Function
createPools
(options Options)
core/Clash.Meta/component/fakeip/pool_test.go:16
↓ 5 callers
Method
decode
(name string, data any, val reflect.Value)
core/Clash.Meta/common/structure/structure.go:54
↓ 5 callers
Function
downloadForBytes
(url string)
core/Clash.Meta/component/updater/utils.go:16
↓ 5 callers
Function
genAddr
(host string, port int, allowLan bool)
core/Clash.Meta/listener/listener.go:709
↓ 5 callers
Function
getBit
(bm []uint64, i int)
core/Clash.Meta/component/trie/domain_set.go:187
↓ 5 callers
Method
getIPMatcher
()
core/Clash.Meta/rules/common/geoip.go:181
↓ 5 callers
Function
handleMsgWithEmptyAnswer
(r *D.Msg)
core/Clash.Meta/dns/util.go:250
↓ 5 callers
Function
heapStr
(t *testing.T)
core/Clash.Meta/common/maphash/maphash_test.go:274
↓ 5 callers
Function
isDialError
(err error)
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:1007
↓ 5 callers
Method
isEmpty
()
core/Clash.Meta/component/trie/node.go:107
↓ 5 callers
Function
isFloat
(kind reflect.Kind)
core/Clash.Meta/common/structure/structure.go:122
↓ 5 callers
Function
logMetadata
(metadata *C.Metadata, rule C.Rule, remoteConn C.Connection)
core/Clash.Meta/tunnel/tunnel.go:661
↓ 5 callers
Function
logMetadataErr
(metadata *C.Metadata, rule C.Rule, proxy C.ProxyAdapter, err error)
core/Clash.Meta/tunnel/tunnel.go:653
↓ 5 callers
Function
makeTestTransportFactory
(counter *atomic.Int64)
core/Clash.Meta/transport/xhttp/reuse_test.go:19
↓ 5 callers
Function
maxByteCount
(a, b congestion.ByteCount)
core/Clash.Meta/transport/tuic/congestion/bbr_sender.go:926
↓ 5 callers
Method
newCache
()
core/Clash.Meta/dns/resolver.go:461
↓ 5 callers
Function
newRejectedPreBufferedConn
(conn net.Conn, pre []byte)
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:1806
↓ 5 callers
Function
portIsZero
(addr string)
core/Clash.Meta/listener/listener.go:701
↓ 5 callers
Method
removeStream
(id uint32)
core/Clash.Meta/transport/sudoku/multiplex/session.go:145
↓ 5 callers
Function
resizeCtl
(seq uint64, helpers uint64)
core/Clash.Meta/common/xsync/map.go:767
↓ 5 callers
Function
resolveUDPAddr
(ctx context.Context, network, address string, prefer C.DNSPrefer)
core/Clash.Meta/adapter/outbound/util.go:48
↓ 5 callers
Method
sendFrame
(frameType byte, streamID uint32, payload []byte)
core/Clash.Meta/transport/sudoku/multiplex/session.go:163
↓ 5 callers
Method
sessionGet
(token string)
core/Clash.Meta/transport/sudoku/obfs/httpmask/tunnel.go:2229
↓ 5 callers
Function
setTTL
setTTL sets the Time-To-Live field on a given connection
core/Clash.Meta/transport/hysteria/conns/faketcp/tcp_linux.go:603
↓ 5 callers
Function
sizeBasedOnTypedRange
(m *Map[string, int])
core/Clash.Meta/common/xsync/map_test.go:1270
↓ 5 callers
Function
splitArgs
(cmd string)
core/Clash.Meta/common/cmd/cmd.go:28
↓ 5 callers
Function
testInboundVMessTLS
(t *testing.T, inboundOptions inbound.VmessOption, outboundOptions outbound.VmessOption)
core/Clash.Meta/listener/inbound/vmess_test.go:71
↓ 5 callers
Function
testSingMux
(t *testing.T, tunnel *TestTunnel, out outbound.ProxyAdapter)
core/Clash.Meta/listener/inbound/mux_test.go:26
↓ 5 callers
Function
v4AEAD
(psk, salt []byte)
core/Clash.Meta/transport/snell/v4.go:155
↓ 5 callers
Method
waitCreated
()
core/Clash.Meta/transport/trusttunnel/protocol.go:121
↓ 5 callers
Function
yamlStyleConfig
()
core/Clash.Meta/transport/openvpn/config_test.go:31
↓ 4 callers
Method
AcceptStream
()
core/Clash.Meta/transport/sudoku/multiplex.go:91
↓ 4 callers
Method
AddrType
()
core/Clash.Meta/constant/metadata.go:250
↓ 4 callers
Method
Address
Address implements the Upstream interface for *dnsOverQUIC.
core/Clash.Meta/dns/doq.go:89
↓ 4 callers
Method
All
All is similar to [Range], but returns an [iter.Seq2], so is compatible with Go 1.23+ iterators. All of the same caveats and behaviour from [Range] ap
core/Clash.Meta/common/xsync/map.go:1030
↓ 4 callers
Method
Authenticator
()
core/Clash.Meta/component/auth/auth.go:9
↓ 4 callers
Method
Build
()
core/Clash.Meta/listener/inbound/shadowsocks.go:28
↓ 4 callers
Function
CalculateFingerprint
CalculateFingerprint computes the SHA-256 fingerprint of the given DER-encoded certificate and returns it as a hex string.
core/Clash.Meta/component/ca/fingerprint.go:60
↓ 4 callers
Method
Clear
Len returns the number of elements in the container.
core/Clash.Meta/transport/anytls/skiplist/contianer.go:7
↓ 4 callers
Method
Close
()
core/Clash.Meta/transport/gun/gun.go:189
↓ 4 callers
Function
DecodeControlPacket
(crypt *TLSCrypt, packet []byte)
core/Clash.Meta/transport/openvpn/packet.go:188
↓ 4 callers
Function
DecodeHeader
(h []byte)
core/Clash.Meta/transport/vless/encryption/common.go:209
↓ 4 callers
Function
DecodeKIPClientHelloPayload
(payload []byte)
core/Clash.Meta/transport/sudoku/kip.go:170
↓ 4 callers
Function
DecodeLength
(b []byte)
core/Clash.Meta/transport/vless/encryption/common.go:195
↓ 4 callers
Method
Dial
()
core/Clash.Meta/transport/gun/gun.go:332
↓ 4 callers
Method
Discard
(n int)
core/Clash.Meta/common/net/bufconn.go:54
↓ 4 callers
Method
Enable
()
core/Clash.Meta/component/sniffer/dispatcher.go:180
↓ 4 callers
Method
Encrypter
(salt []byte)
core/Clash.Meta/transport/shadowsocks/shadowaead/cipher.go:19
↓ 4 callers
Method
Equal
(hash HashType)
core/Clash.Meta/common/utils/hash.go:19
↓ 4 callers
Method
ErrorContext
(ctx context.Context, args ...any)
core/Clash.Meta/log/sing.go:28
↓ 4 callers
Function
Fatalln
(format string, v ...any)
core/Clash.Meta/log/log.go:61
← previous
next →
401–500 of 6,206, ranked by callers