Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LEXUGE/dcompass
/ functions
Functions
145 in github.com/LEXUGE/dcompass
⨍
Functions
145
◇
Types & classes
57
Function
insert_multi
()
dmatcher/src/domain.rs:139
Method
into_iterator
(self)
droute/src/router/script/rune_scripting/message/helper.rs:126
Function
main
()
dcompass/src/main.rs:113
Function
matches
()
dmatcher/src/domain.rs:117
Function
matches_2
()
dmatcher/src/domain.rs:127
Function
mixed
()
droute/src/router/script/utils/geoip.rs:115
Function
modify_message
( msg: &Message<Bytes>, section_modified: SectionPayload, )
droute/src/router/script/rune_scripting/message/helper.rs:242
Method
new
()
dmatcher/src/domain.rs:34
Method
new
Create a new mock server
droute/src/mock.rs:31
Method
new
(content: T, ttl: Duration)
droute/src/cache.rs:86
Method
new
Create a new `Router` from raw
droute/src/router/mod.rs:50
Method
new
Create a builder from an async function that returns the resulting message
droute/src/router/script/native.rs:75
Method
new
Create a new empty `IpCidr` matcher
droute/src/router/script/utils/ipcidr.rs:17
Method
new
Create an empty `domain` matcher
droute/src/router/script/utils/domain.rs:50
Method
new
Create a `RuneScriptBuilder` from the script source code.
droute/src/router/script/rune_scripting/mod.rs:94
Method
new
Create a new `Upstreams` by passing a bunch of `Upstream`s, with their respective labels, and cache capacity.
droute/src/router/upstreams/mod.rs:96
Method
new
Create an empty UpstreamsBuilder with a given cache_size
droute/src/router/upstreams/builder.rs:50
Method
new
Create an empty hybrid builder
droute/src/router/upstreams/upstream/builder.rs:86
Method
new
Create a new UDP client creator instance. with the given remote server address.
droute/src/router/upstreams/upstream/qhandle/udp.rs:33
Method
new
( initiator: T, max_pool_size: usize, timeout: Duration, ratelimiter: QosPolic
droute/src/router/upstreams/upstream/qhandle/mod.rs:161
Method
new
Create a new HTTPS client creator instance. with the given remote server address. We *CANNOT* reuse the client *WITH* connection pool because if the n
droute/src/router/upstreams/upstream/qhandle/https.rs:85
Method
new
Create a new TLS connection creator instance. with the given remote server address.
droute/src/router/upstreams/upstream/qhandle/tls/rustls.rs:57
Method
new
Create a new TLS connection creator instance. with the given remote server address.
droute/src/router/upstreams/upstream/qhandle/tls/native_tls.rs:37
Function
not_china
()
droute/src/router/script/utils/geoip.rs:105
Method
query
(&self, msg: &Message<Bytes>)
droute/src/router/upstreams/upstream/qhandle/mod.rs:181
Method
query
(&self, msg: &Message<Bytes>)
droute/src/router/upstreams/upstream/qhandle/https.rs:147
Method
query
(&self, msg: &Message<Bytes>)
droute/src/router/upstreams/upstream/qhandle/tls/mod.rs:40
Method
recycle
(&self, obj: &mut Self::Type)
droute/src/router/upstreams/upstream/qhandle/mod.rs:76
Function
resolve_script
( upstreams: Upstreams, query: Message<Bytes>, _ctx: Option<QueryContext>, )
droute/benches/native_script.rs:115
Function
resolve_script
( upstreams: Upstreams, query: Message<Bytes>, _ctx: Option<QueryContext>, )
droute/tests/router.rs:83
Function
resolve_script_no_cache
( upstreams: Upstreams, query: Message<Bytes>, _ctx: Option<QueryContext>, )
droute/benches/native_script.rs:125
Method
reusable
(&self)
droute/src/router/upstreams/upstream/qhandle/udp.rs:89
Method
reusable
Check whether the connection is still up. Specific implementation depends on specific connections. i.e. UDP connection may just send a simple query wh
droute/src/router/upstreams/upstream/qhandle/mod.rs:101
Method
reusable
(&self)
droute/src/router/upstreams/upstream/qhandle/https.rs:170
Method
reusable
(&self)
droute/src/router/upstreams/upstream/qhandle/tls/mod.rs:96
Method
route
( &self, query: Message<Bytes>, ctx: Option<QueryContext>, )
droute/src/router/script/rune_scripting/mod.rs:54
Function
send_default
( upstreams: &Upstreams, tag: &str, msg: &Message, )
droute/src/router/script/rune_scripting/basis.rs:28
Function
serve
(socket: Arc<UdpSocket>, router: Arc<Router<RuneScript>>, tx: &Sender<()>)
dcompass/src/main.rs:74
Function
should_not_fail_recursion
()
droute/src/router/upstreams/mod.rs:189
Function
test_resolve
()
droute/tests/router.rs:52
Method
traverse
Check any upstream types
droute/src/router/upstreams/mod.rs:112
Method
used
Get the `used` bit
droute/src/lib.rs:104
Method
validate
(&self, _: Option<&Vec<crate::Label>>)
droute/src/router/script/native.rs:54
Method
validate
(&self, _: Option<&Vec<crate::Label>>)
droute/src/router/script/rune_scripting/mod.rs:81
Function
worker
Handle a single incoming packet
dcompass/src/worker.rs:25
← previous
101–145 of 145, ranked by callers