MCPcopy Create free account

hub / github.com/Xu-Mj/sandcat-backend / functions

Functions492 in github.com/Xu-Mj/sandcat-backend

↓ 1 callersMethodupdate_file_pin_status
(&self, file_id: &str, is_pinned: bool)
db/src/postgres/group.rs:538
↓ 1 callersMethodupdate_friend_group
( &self, group_id: &str, name: &str, display_order: i32, )
db/src/postgres/friend.rs:434
↓ 1 callersMethodupdate_friend_privacy
Privacy Settings Management implementations
db/src/postgres/friend.rs:661
↓ 1 callersMethodupdate_friend_remark
( &self, user_id: &str, friend_id: &str, remark: &str, )
db/src/postgres/friend.rs:188
↓ 1 callersMethodupdate_group
(&self, group: &GroupUpdate)
db/src/postgres/group.rs:262
↓ 1 callersMethodupdate_group_category
(&self, category: &GroupCategory)
db/src/postgres/group.rs:418
↓ 1 callersMethodupdate_group_settings
扩展方法实现
db/src/postgres/group.rs:333
↓ 1 callersMethodupdate_interaction_score
Interaction Tracking implementations
db/src/postgres/friend.rs:731
↓ 1 callersMethodupdate_member_settings
( &self, group_id: &str, user_id: &str, notification_level: &str, disp
db/src/postgres/group.rs:370
↓ 1 callersMethodupdate_region
(&self, user_id: &str, region: &str)
db/src/postgres/user.rs:182
↓ 1 callersMethodupdate_user
(&self, user: UserUpdate)
db/src/postgres/user.rs:126
↓ 1 callersMethodupload_file
(&self, key: &str, content: Vec<u8>)
oss/src/client.rs:137
↓ 1 callersMethodupload_group_file
(&self, req: &GroupFileUploadRequest)
db/src/postgres/group.rs:467
↓ 1 callersMethodurl
(&self)
utils/src/mongodb_tester/mod.rs:52
↓ 1 callersMethodurl
(&self, type_: &str, name: &str)
utils/src/service_register_center/consul/mod.rs:54
↓ 1 callersMethoduser_login
(&self, user_id: &str)
cache/src/redis/mod.rs:380
↓ 1 callersMethoduser_logout
(&self, user_id: &str)
cache/src/redis/mod.rs:386
↓ 1 callersFunctionuser_routes
(state: AppState)
api/src/routes.rs:67
↓ 1 callersMethodvalidate
(&self)
abi/src/types/msg.rs:282
↓ 1 callersMethodverify_pwd
(&self, account: &str, password: &str)
db/src/postgres/user.rs:191
↓ 1 callersMethodvote_poll
(&self, req: &VotePollRequest)
db/src/postgres/group.rs:593
↓ 1 callersMethodwait
等待任务完成并返回退出原因
msg_gateway/src/ws_server.rs:347
↓ 1 callersMethodwith_batch_size
设置批量大小
cmd/src/migrate.rs:43
↓ 1 callersMethodwith_concurrency
设置并发度
cmd/src/migrate.rs:49
↓ 1 callersMethodwith_serde
(self, path: &[&str])
abi/build.rs:44
↓ 1 callersMethodwith_sqlx_type
set sqlx::Type for ReservationStatus
abi/build.rs:13
Methodabort_others
中止所有任务
msg_gateway/src/ws_server.rs:371
Methodaccept_compressed
(mut self, encoding: CompressionEncoding)
abi/src/pb/message.rs:1927
Methodaccount_or_pwd
()
abi/src/errors/mod.rs:165
Functionagree
同意好友请求, 需要friend db参数
api/src/handlers/friends/friend_handlers.rs:75
Functionassign_friend_to_group
( State(app_state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<UpdateFriendGro
api/src/handlers/friends/friend_handlers.rs:234
Methodbad_request
(details: impl Into<String>)
abi/src/errors/mod.rs:135
Methodbody_parsing
(details: impl Into<String>)
abi/src/errors/mod.rs:170
Methodbroadcast
(error: Box<dyn StdError + 'static + Send + Sync>)
abi/src/errors/mod.rs:103
Methodcall
(&mut self, request: http::Request<BoxBody>)
utils/src/service_discovery/tonic_service_discovery.rs:30
Methodcall
(&mut self, req: http::Request<B>)
abi/src/pb/message.rs:2205
Functionchange_member_role
新增 - 成员管理增强
api/src/handlers/groups/group_handlers.rs:548
Methodclean_receive_box
(&self, period: i64, types: Vec<i32>)
db/src/mongodb/sharded_message.rs:680
Functionclose_poll
( State(app_state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<ClosePollReques
api/src/handlers/groups/group_handlers.rs:409
Methodcode_expired
(details: impl Into<String>)
abi/src/errors/mod.rs:145
Methodcode_invalid
(details: impl Into<String>)
abi/src/errors/mod.rs:140
Functioncreate_announcement
新增 - 群组公告相关
api/src/handlers/groups/group_handlers.rs:487
Functioncreate_friend_group
好友分组管理
api/src/handlers/friends/friend_handlers.rs:182
Functioncreate_friend_tag
好友标签管理
api/src/handlers/friends/friend_handlers.rs:252
Functioncreate_friendship
创建好友请求
api/src/handlers/friends/friend_handlers.rs:52
Functioncreate_group_category
新增 - 群组分类相关
api/src/handlers/groups/group_handlers.rs:289
Functioncreate_group_handler
use the send_message, need to store the notification message create a new record handler
api/src/handlers/groups/group_handlers.rs:66
Methodcreate_ping_task
创建Ping任务
msg_gateway/src/ws_server.rs:142
Functioncreate_poll
新增 - 群组投票相关
api/src/handlers/groups/group_handlers.rs:379
Methodcreate_receive_task
创建接收消息任务
msg_gateway/src/ws_server.rs:217
Functioncreate_user
register new user
api/src/handlers/users/user_handlers.rs:55
Methodcreate_watch_task
创建Watch任务
msg_gateway/src/ws_server.rs:190
Methoddb_not_found
(details: impl Into<String>)
abi/src/errors/mod.rs:150
Methoddbname
(&self)
utils/src/mongodb_tester/mod.rs:56
Methoddbname
(&self)
utils/src/sqlx_tester/mod.rs:81
Functiondefault_conn
()
abi/src/config.rs:267
Functiondel_msg
( State(state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<DelMsgRequest>, )
api/src/handlers/messages/msg_handlers.rs:80
Functiondelete_announcement
( State(app_state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<DeleteAnnouncem
api/src/handlers/groups/group_handlers.rs:511
Methoddelete_avatar
(&self, key: &str)
oss/src/client.rs:155
Methoddelete_file
(&self, key: &str)
oss/src/client.rs:145
Functiondelete_friend
( State(app_state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<DeleteFriendReq
api/src/handlers/friends/friend_handlers.rs:121
Functiondelete_friend_group
( State(app_state): State<AppState>, PathWithAuthExtractor(id): PathWithAuthExtractor<String>, )
api/src/handlers/friends/friend_handlers.rs:216
Functiondelete_friend_tag
( State(app_state): State<AppState>, PathWithAuthExtractor(id): PathWithAuthExtractor<String>, )
api/src/handlers/friends/friend_handlers.rs:269
Functiondelete_group_category
( State(app_state): State<AppState>, PathWithAuthExtractor(id): PathWithAuthExtractor<String>, )
api/src/handlers/groups/group_handlers.rs:305
Functiondelete_group_file
( State(app_state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<DeleteFileReque
api/src/handlers/groups/group_handlers.rs:346
Functiondelete_group_handler
( State(app_state): State<AppState>, JsonWithAuthExtractor(group): JsonWithAuthExtractor<DeleteGroupRe
api/src/handlers/groups/group_handlers.rs:213
Methoddelete_messages
(&self, user_id: &str, msg_seq: Vec<i64>)
db/src/mongodb/sharded_message.rs:336
Methodderef
(&self)
cache/src/redis/mod.rs:414
Methodderef
(&self)
db/src/mongodb/sharded_message.rs:789
Methodderef
(&self)
db/src/mongodb/message.rs:303
Methodderegister
(&self, service_id: &str)
utils/src/service_register_center/consul/mod.rs:88
Methoddiscovery
(&self)
utils/src/service_register_center/consul/mod.rs:76
Methoddrop
(&mut self)
utils/src/mongodb_tester/mod.rs:69
Methoddrop
(&mut self)
utils/src/sqlx_tester/mod.rs:87
Methodensure_topic_exists
( topic_name: &str, brokers: &str, timeout: u16, )
msg_server/src/productor.rs:79
Methodfile_exists
(&self, key: &str, _local_md5: &str)
oss/src/client.rs:133
Methodfmt
(&self, f: &mut Formatter<'_>)
abi/src/types/friend.rs:11
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
abi/src/errors/mod.rs:181
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
abi/src/pb/message.rs:2359
Methodfmt
(&self, f: &mut Formatter<'_>)
api/src/api_utils/lb/strategy.rs:25
Functionformat_milliseconds
(millis: i64)
abi/src/utils.rs:3
Methodformat_time
(&self, w: &mut Writer<'_>)
cmd/src/main.rs:17
Methodfrom
(value: GroupRole)
abi/src/types/group.rs:67
Methodfrom
(value: FsStatus)
abi/src/types/friend.rs:36
Methodfrom
(status: Status)
abi/src/types/msg.rs:11
Methodfrom
(e: Error)
abi/src/errors/mod.rs:198
Methodfrom_arc
(inner: Arc<T>)
abi/src/pb/message.rs:2145
Methodfrom_config
(config: &Config)
cache/src/redis/mod.rs:52
Methodfrom_config
(config: &Config)
utils/src/service_register_center/consul/mod.rs:23
Methodfrom_config
从配置创建实例
db/src/mongodb/sharded_message.rs:57
Methodfrom_config
(config: &Config)
db/src/mongodb/message.rs:39
Methodfrom_db
because of the tests are running in parallel, we need to use different database, in case of the flush db command will cause conflict in drop method
cache/src/redis/mod.rs:443
Methodfrom_request
(req: Request, state: &S)
api/src/api_utils/custom_extract/json_extractor.rs:18
Methodfrom_request
(req: Request, state: &S)
api/src/api_utils/custom_extract/auth.rs:38
Methodfrom_request_parts
(parts: &mut Parts, state: &S)
api/src/api_utils/custom_extract/path_extractor.rs:21
Methodfrom_request_parts
(parts: &mut Parts, state: &S)
api/src/api_utils/custom_extract/auth.rs:98
Methodfrom_row
(row: &PgRow)
abi/src/types/group.rs:78
Methodfrom_row
(row: &'_ PgRow)
abi/src/types/friend.rs:48
Methodfrom_row
(row: &'_ PgRow)
abi/src/types/user.rs:6
Methodfrom_str_name
Creates an enum from field names used in the ProtoBuf definition.
abi/src/pb/message.rs:211
← previousnext →201–300 of 492, ranked by callers