Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ember-Moth/ppanel
/ functions
Functions
1,586 in github.com/Ember-Moth/ppanel
⨍
Functions
1,586
◇
Types & classes
763
Function
stub_server_data
(task: Task)
src/queue/handler/traffic.rs:9
Function
stub_traffic_stat
(task: Task)
src/queue/handler/traffic.rs:19
Function
stub_traffic_statistics
(task: Task)
src/queue/handler/traffic.rs:4
Method
subscribe_access
Record a subscribe config access (user fetched their proxy config). Go counterpart: `subscribeLogic`.
src/service/telemetry.rs:182
Function
subscribe_sort
( repo: &dyn SubscribeRepo, req: SubscribeSortRequest, )
src/service/admin/subscribe/subscribe_sort_service.rs:7
Function
subscribe_sort
( State(state): State<AppState>, Json(req): Json<SubscribeSortRequest>, )
src/handler/admin/subscribe/subscribe_sort_handler.rs:9
Method
subscribe_traffic
Record per-user-subscribe traffic statistics for a time window. Go counterpart: `trafficStatLogic`.
src/service/telemetry.rs:208
Function
success_envelope_shape
()
crates/result/src/http_result.rs:223
Function
supported_protocol_names
Returns the static list of supported protocol names. Exposed for callers (handlers, tests) that want the catalogue without a DB round-trip.
src/service/admin/server/get_server_protocols_service.rs:29
Function
telegram_handler
`POST /v1/telegram`
src/handler/telegram.rs:10
Function
telephone_login
( State(state): State<AppState>, Extension(device): Extension<DeviceContext>, Json(mut req): Json<
src/handler/auth/telephone_login_handler.rs:9
Function
telephone_reset_password
( State(state): State<AppState>, Extension(device): Extension<DeviceContext>, Json(mut req): Json<
src/handler/auth/telephone_reset_password_handler.rs:9
Function
telephone_user_register
( State(state): State<AppState>, Extension(device): Extension<DeviceContext>, Json(mut req): Json<
src/handler/auth/telephone_user_register_handler.rs:9
Function
test_b64enc
()
src/adapter/mod.rs:473
Function
test_cents_display
()
crates/payment/src/types.rs:63
Function
test_cents_from_yuan
()
crates/payment/src/types.rs:49
Function
test_cents_from_yuan_rounding
()
crates/payment/src/types.rs:56
Function
test_client_build_base64
()
src/adapter/mod.rs:500
Function
test_client_build_simple
()
src/adapter/mod.rs:480
Function
test_detect_clash
()
src/service/subscribe/user_agent.rs:50
Function
test_email_send
( _cfg: &crate::config::Config, _to: String, )
src/service/admin/auth_method/get_auth_method_list_service.rs:73
Function
test_email_send
( cfg: &Config, req: TestEmailSendRequest, )
src/service/admin/auth_method/test_email_send_service.rs:6
Function
test_email_send
( State(state): State<AppState>, Json(req): Json<TestEmailSendRequest>, )
src/handler/admin/auth_method/test_email_send_handler.rs:13
Function
test_encode_and_verify_password
()
crates/password/src/lib.rs:170
Function
test_epay_sign
()
crates/payment/src/epay.rs:111
Function
test_fmt_bytes_gb
()
src/service/telegram/template.rs:92
Function
test_get_supported_platforms
()
crates/payment/src/platform.rs:140
Function
test_md5_encode
()
crates/password/src/lib.rs:182
Function
test_multi_password_verify_bcrypt
()
crates/password/src/lib.rs:216
Function
test_multi_password_verify_default
()
crates/password/src/lib.rs:225
Function
test_multi_password_verify_md5
()
crates/password/src/lib.rs:192
Function
test_multi_password_verify_md5salt
()
crates/password/src/lib.rs:207
Function
test_multi_password_verify_sha256
()
crates/password/src/lib.rs:200
Function
test_no_match
()
src/service/subscribe/user_agent.rs:70
Function
test_parse_bind
()
src/service/telegram/bot.rs:104
Function
test_parse_bot_mention
()
src/service/telegram/bot.rs:112
Function
test_parse_start
()
src/service/telegram/bot.rs:99
Function
test_parse_traffic
()
src/service/telegram/bot.rs:117
Function
test_parse_unknown
()
src/service/telegram/bot.rs:122
Function
test_platform_display
()
crates/payment/src/platform.rs:134
Function
test_platform_parse
()
crates/payment/src/platform.rs:124
Function
test_proxy_default
()
src/adapter/mod.rs:468
Function
test_sms_send
( cfg: &crate::config::Config, req: TestSmsSendRequest, )
src/service/admin/auth_method/test_sms_send_service.rs:6
Function
test_sms_send
( _cfg: &crate::config::Config, _to: String, )
src/service/admin/auth_method/get_auth_method_list_service.rs:84
Function
test_sms_send
( State(state): State<AppState>, Json(req): Json<TestSmsSendRequest>, )
src/handler/admin/auth_method/test_sms_send_handler.rs:13
Function
test_stash_before_quantumult
()
src/service/subscribe/user_agent.rs:60
Function
test_welcome_contains_bind
()
src/service/telegram/template.rs:97
Function
to_dto
(t: &Task)
src/service/admin/marketing/get_batch_send_email_task_list_service.rs:34
Method
to_yuan_f64
(&self)
crates/payment/src/types.rs:15
Function
toggle_node_status
( repo: &dyn NodeRepo, id: i64, )
src/service/admin/server/toggle_node_status_service.rs:5
Function
toggle_node_status
( State(state): State<AppState>, Json(req): Json<ToggleNodeStatusRequest>, )
src/handler/admin/server/toggle_node_status_handler.rs:9
Function
toggle_user_subscribe_status
Toggle the `status` bit on a UserSubscribe (0 ↔ 1).
src/service/admin/user/toggle_user_subscribe_status_service.rs:11
Function
toggle_user_subscribe_status
( State(state): State<AppState>, Json(req): Json<ToggleUserSubscribeStatusRequest>, )
src/handler/admin/user/toggle_user_subscribe_status_handler.rs:9
Method
top_servers_traffic_by_day
( &self, date: i64, limit: i64, )
src/repository/traffic/mysql.rs:151
Method
top_servers_traffic_by_monthly
( &self, date: i64, limit: i64, )
src/repository/traffic/pg.rs:165
Method
top_servers_traffic_by_monthly
( &self, date: i64, limit: i64, )
src/repository/traffic/mysql.rs:169
Method
top_users_traffic_by_day
( &self, date: i64, limit: i64, )
src/repository/traffic/mysql.rs:187
Method
top_users_traffic_by_monthly
( &self, date: i64, limit: i64, )
src/repository/traffic/pg.rs:201
Method
top_users_traffic_by_monthly
( &self, date: i64, limit: i64, )
src/repository/traffic/mysql.rs:205
Function
trace_middleware
(req: Request, next: Next)
src/middleware/trace_middleware.rs:7
Method
traffic_stat
Record the aggregated traffic summary for a period. Go counterpart: `trafficStatLogic`.
src/service/telemetry.rs:358
Method
try_from
(s: &str)
src/config/protocol.rs:25
Method
ttl
(&self, key: &str)
src/cache.rs:102
Function
unbind_device
( State(state): State<AppState>, Extension(auth): Extension<AuthContext>, Json(req): Json<UnbindDe
src/handler/public/user/unbind_device_handler.rs:11
Function
unbind_o_auth
( State(state): State<AppState>, Extension(auth): Extension<AuthContext>, Json(req): Json<UnbindOA
src/handler/public/user/unbind_o_auth_handler.rs:11
Function
unbind_telegram
( State(state): State<AppState>, Extension(auth): Extension<AuthContext>, )
src/handler/public/user/unbind_telegram_handler.rs:9
Function
unknown_code_falls_back
()
crates/result/src/error_code.rs:220
Function
unsubscribe
( State(state): State<AppState>, Extension(auth): Extension<AuthContext>, Json(req): Json<Unsubscr
src/handler/public/user/unsubscribe_handler.rs:11
Method
update
(&self, data: &SubscribeApplication)
src/repository/client/pg.rs:44
Method
update
(&self, data: &SubscribeApplication)
src/repository/client/mysql.rs:49
Method
update
(&self, data: &Auth)
src/repository/auth/pg.rs:38
Method
update
(&self, data: &Auth)
src/repository/auth/mysql.rs:43
Method
update
(&self, data: &Task)
src/repository/task/pg.rs:54
Method
update
(&self, data: &Task)
src/repository/task/mysql.rs:59
Method
update
(&self, data: &Payment)
src/repository/payment/pg.rs:55
Method
update
(&self, data: &Payment)
src/repository/payment/mysql.rs:60
Method
update
(&self, data: &Document)
src/repository/document/pg.rs:40
Method
update
(&self, data: &Document)
src/repository/document/mysql.rs:45
Method
update
(&self, data: &Ads)
src/repository/ads/pg.rs:44
Method
update
(&self, data: &Ads)
src/repository/ads/mysql.rs:49
Method
update
(&self, data: &Announcement)
src/repository/announcement/pg.rs:41
Method
update
(&self, data: &Announcement)
src/repository/announcement/mysql.rs:46
Method
update
(&self, data: &System)
src/repository/system/pg.rs:40
Method
update
(&self, data: &System)
src/repository/system/mysql.rs:45
Method
update
(&self, data: &Order)
src/repository/order/pg.rs:136
Method
update
(&self, data: &Order)
src/repository/order/mysql.rs:141
Method
update
(&self, data: &Subscribe)
src/repository/subscribe/pg.rs:58
Method
update
(&self, data: &Subscribe)
src/repository/subscribe/mysql.rs:63
Method
update
(&self, data: &Ticket)
src/repository/ticket/pg.rs:40
Method
update
(&self, data: &Ticket)
src/repository/ticket/mysql.rs:45
Function
update_ads
( repo: &dyn AdsRepo, req: UpdateAdsRequest, )
src/service/admin/ads/update_ads_service.rs:9
Function
update_ads
( State(state): State<AppState>, Json(req): Json<UpdateAdsRequest>, )
src/handler/admin/ads/update_ads_handler.rs:9
Function
update_announcement
( repo: &dyn AnnouncementRepo, req: UpdateAnnouncementRequest, )
src/service/admin/announcement/update_announcement_service.rs:9
Function
update_announcement
( State(state): State<AppState>, Json(req): Json<UpdateAnnouncementRequest>, )
src/handler/admin/announcement/update_announcement_handler.rs:9
Method
update_auth_method
(&self, data: &AuthMethods)
src/repository/user/mysql.rs:322
Function
update_auth_method_config
( repo: &dyn AuthRepo, req: UpdateAuthMethodConfigRequest, )
src/service/admin/auth_method/get_auth_method_list_service.rs:45
Function
update_auth_method_config
( State(state): State<AppState>, Json(req): Json<UpdateAuthMethodConfigRequest>, )
src/handler/admin/auth_method/update_auth_method_config_handler.rs:8
Function
update_bind_email
( State(state): State<AppState>, Extension(auth): Extension<AuthContext>, Json(req): Json<UpdateBi
src/handler/public/user/update_bind_email_handler.rs:11
Function
update_bind_mobile
( State(state): State<AppState>, Extension(auth): Extension<AuthContext>, Json(req): Json<UpdateBi
src/handler/public/user/update_bind_mobile_handler.rs:11
Method
update_count
(&self, code: &str)
src/repository/coupon/pg.rs:86
← previous
next →
1,401–1,500 of 1,586, ranked by callers