MCPcopy Create free account

hub / github.com/ReaJason/Clash-Butler / functions

Functions210 in github.com/ReaJason/Clash-Butler

↓ 55 callersMethodclone
(&self)
proxrs/src/protocol/mod.rs:129
↓ 12 callersFunctionbase64decode
(content: &str)
proxrs/src/base64.rs:4
↓ 11 callersMethodget_name
(&self)
proxrs/src/protocol/mod.rs:147
↓ 6 callersMethodstop
(mut self)
src/clash.rs:79
↓ 5 callersFunctionget_trace_info_with_proxy
( proxy_url: &str, trace_url: &str, timeout: Duration, )
src/cgi_trace.rs:146
↓ 4 callersMethodas_any
(&self)
proxrs/src/protocol/ss.rs:163
↓ 4 callersFunctionbuild_client
(proxy_url: &str, timeout: Duration)
src/website.rs:13
↓ 4 callersMethodeq
(&self, other: &Self)
proxrs/src/protocol/ss.rs:32
↓ 4 callersMethodset_name
(&mut self, name: &str)
proxrs/src/protocol/mod.rs:151
↓ 3 callersMethodtest_group
( &self, group_name: &str, delay_test_config: &DelayTestConfig, )
src/clash.rs:95
↓ 3 callersMethodto_json
(&self)
proxrs/src/protocol/mod.rs:159
↓ 2 callersFunctionbase64encode
(content: String)
proxrs/src/base64.rs:16
↓ 2 callersFunctionclaude_is_ok
(proxy_url: &str, timeout: Duration)
src/website.rs:23
↓ 2 callersFunctiongemini_is_ok
(proxy_url: &str, timeout: Duration)
src/website.rs:90
↓ 2 callersMethodget_group
(&self, group_name: &str)
src/clash.rs:87
↓ 2 callersFunctionget_ip
( proxy_url: &str, timeout: Duration, )
src/cgi_trace.rs:23
↓ 2 callersFunctionget_ip_by_ipify
( proxy_url: &str, timeout: Duration, )
src/cgi_trace.rs:91
↓ 2 callersFunctionget_ip_detail
( ip_addr: &IpAddr, proxy_url: &str, )
src/ip.rs:16
↓ 2 callersFunctionis_clean
(proxy_port: Option<i64>)
src/risk.rs:15
↓ 2 callersMethodset_group_proxy
( &self, group_name: &str, proxy_name: &str, )
src/clash.rs:156
↓ 2 callersMethodstart
(&mut self)
src/clash.rs:43
↓ 2 callersMethodtest_proxy
( &self, proxy_name: &str, delay_test_config: &DelayTestConfig, )
src/clash.rs:130
↓ 2 callersMethodto_link
将节点信息转为单个分享链接 https://github.com/v2rayA/v2rayA/blob/main/service/core/serverObj/shadowsocks.go#L354
proxrs/src/protocol/ss.rs:54
↓ 1 callersFunctionadd
(left: u64, right: u64)
proxrs/src/lib.rs:5
↓ 1 callersMethodas_any
(&self)
proxrs/src/protocol/trojan.rs:116
↓ 1 callersMethodas_any
(&self)
proxrs/src/protocol/hysteria2.rs:207
↓ 1 callersMethodas_any
(&self)
proxrs/src/protocol/vless.rs:157
↓ 1 callersMethodas_any
(&self)
proxrs/src/protocol/vmess.rs:278
↓ 1 callersMethodas_any
(&self)
proxrs/src/protocol/http.rs:72
↓ 1 callersMethodas_any
(&self)
proxrs/src/protocol/socks5.rs:67
↓ 1 callersMethodas_any
(&self)
proxrs/src/protocol/hysteria.rs:99
↓ 1 callersMethodas_any
(&self)
proxrs/src/protocol/ssr.rs:101
↓ 1 callersMethodclone_box
(&self)
proxrs/src/protocol/mod.rs:123
↓ 1 callersFunctionconfig_router
()
src/routes/config.rs:5
↓ 1 callersFunctioncreate_folder
创建目录
src/main.rs:415
↓ 1 callersFunctionget_all_tested_nodes
获取所有已测速有过一次速度的节点 */
src/main.rs:366
↓ 1 callersFunctionget_ip_by_ipip
( proxy_url: &str, timeout: Duration, )
src/cgi_trace.rs:69
↓ 1 callersFunctionget_ip_detail_from_ipapi
( ip_addr: &IpAddr, proxy_url: &str, )
src/ip.rs:61
↓ 1 callersFunctionget_ip_detail_from_ipsb
(ip_addr: &IpAddr, proxy_url: &str)
src/ip.rs:49
↓ 1 callersMethodget_server
(&self)
proxrs/src/protocol/mod.rs:155
↓ 1 callersMethodhash
(&self, mut state: &mut dyn Hasher)
proxrs/src/protocol/ss.rs:175
↓ 1 callersFunctionis_clean_ip
()
src/risk.rs:11
↓ 1 callersFunctionis_clean_proxy
(proxy_port: i64)
src/risk.rs:7
↓ 1 callersFunctionopenai_is_ok
(proxy_url: &str, timeout: Duration)
src/website.rs:57
↓ 1 callersFunctionparse_trace_info
(text: String)
src/cgi_trace.rs:116
↓ 1 callersFunctionrun
(config: Settings)
src/main.rs:68
↓ 1 callersFunctionshutdown_signal
#[derive(Deserialize, Debug)] struct Sub { url: String, } async fn add_sub(Query(params): Query<Sub>) -> String { let sub_url = params.url; let sub_
src/server.rs:244
↓ 1 callersFunctionsub_router
()
src/routes/sub.rs:5
↓ 1 callersFunctiontest_node_with_delay_config
( clash_meta: &ClashMeta, delay_test_config: &DelayTestConfig, )
src/main.rs:329
↓ 1 callersFunctionyoutube_music_is_ok
(proxy_url: &str, timeout: Duration)
src/website.rs:74
Functionconfig_handler
()
src/routes/config.rs:9
Functiondeserialize_from_string
(deserializer: D)
proxrs/src/protocol/mod.rs:328
Functiondeserialize_u16_or_string
(deserializer: D)
proxrs/src/protocol/mod.rs:313
Methodeq
(&self, other: &Self)
proxrs/src/protocol/trojan.rs:30
Methodeq
(&self, other: &Self)
proxrs/src/protocol/mod.rs:284
Methodeq
(&self, other: &Self)
proxrs/src/protocol/hysteria2.rs:55
Methodeq
(&self, other: &Self)
proxrs/src/protocol/vless.rs:47
Methodeq
(&self, other: &Self)
proxrs/src/protocol/vmess.rs:52
Methodeq
(&self, other: &Self)
proxrs/src/protocol/http.rs:39
Methodeq
(&self, other: &Self)
proxrs/src/protocol/socks5.rs:34
Methodeq
(&self, other: &Self)
proxrs/src/protocol/hysteria.rs:62
Methodeq
(&self, other: &Self)
proxrs/src/protocol/ssr.rs:32
Methodexclude_dup_proxies
移除重复节点
proxrs/src/sub.rs:215
Methodfmt
(&self, f: &mut fmt::Formatter)
proxrs/src/protocol/mod.rs:90
Methodfrom_json
(json: &str)
proxrs/src/protocol/mod.rs:204
Methodfrom_link
(link: String)
proxrs/src/protocol/trojan.rs:52
Methodfrom_link
(link: String)
proxrs/src/protocol/mod.rs:172
Methodfrom_link
https://github.com/apernet/hysteria/blob/21ea2a024a5bd2d85b8c3e1350038fa178f0901b/app/cmd/client.go#L346 hysteria2://auth@server:port/?insecure
proxrs/src/protocol/hysteria2.rs:115
Methodfrom_link
(link: String)
proxrs/src/protocol/ss.rs:87
Methodfrom_link
(link: String)
proxrs/src/protocol/vless.rs:69
Methodfrom_link
(link: String)
proxrs/src/protocol/vmess.rs:135
Methodfrom_link
(_link: String)
proxrs/src/protocol/http.rs:61
Methodfrom_link
(_link: String)
proxrs/src/protocol/socks5.rs:56
Methodfrom_link
(_link: String)
proxrs/src/protocol/hysteria.rs:88
Methodfrom_link
(link: String)
proxrs/src/protocol/ssr.rs:54
Methodget_clash_config_content
通过配置格式,获取 clash 配置文件内容
proxrs/src/sub.rs:272
Methodget_content_from_sub_url
(sub_url: &str)
proxrs/src/sub.rs:63
Methodget_name
(&self)
proxrs/src/protocol/trojan.rs:36
Methodget_name
(&self)
proxrs/src/protocol/hysteria2.rs:61
Methodget_name
(&self)
proxrs/src/protocol/ss.rs:40
Methodget_name
(&self)
proxrs/src/protocol/vless.rs:53
Methodget_name
(&self)
proxrs/src/protocol/vmess.rs:83
Methodget_name
(&self)
proxrs/src/protocol/http.rs:45
Methodget_name
(&self)
proxrs/src/protocol/socks5.rs:40
Methodget_name
(&self)
proxrs/src/protocol/hysteria.rs:72
Methodget_name
(&self)
proxrs/src/protocol/ssr.rs:38
Methodget_proxies_from_url
从链接中获取代理信息支持以下四种结构 1. http://订阅链接,传入代理地址 2. C:\\文件地址 /home/yaml,传入文件地址 3. ss://xxxx,传入单个节点链接 4. edhxxx, 传入 base64 的节点信息
proxrs/src/sub.rs:33
Methodget_proxies_from_urls
传入 urls 列表解析代理
proxrs/src/sub.rs:49
Methodget_server
(&self)
proxrs/src/protocol/trojan.rs:44
Methodget_server
(&self)
proxrs/src/protocol/hysteria2.rs:69
Methodget_server
(&self)
proxrs/src/protocol/ss.rs:48
Methodget_server
(&self)
proxrs/src/protocol/vless.rs:61
Methodget_server
(&self)
proxrs/src/protocol/vmess.rs:91
Methodget_server
(&self)
proxrs/src/protocol/http.rs:53
Methodget_server
(&self)
proxrs/src/protocol/socks5.rs:48
Methodget_server
(&self)
proxrs/src/protocol/hysteria.rs:80
Methodget_server
(&self)
proxrs/src/protocol/ssr.rs:46
Functionget_stable_tested_nodes
(test_results: &Vec<HashMap<String, i64>>)
src/main.rs:380
Functionget_top_node
(test_results: &Vec<HashMap<String, i64>>)
src/main.rs:303
Functiongreet
()
proxrs-wasm/src/lib.rs:17
next →1–100 of 210, ranked by callers