Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xu-Mj/sandcat-backend
/ functions
Functions
492 in github.com/Xu-Mj/sandcat-backend
⨍
Functions
492
◇
Types & classes
237
↓ 1 callers
Method
update_file_pin_status
(&self, file_id: &str, is_pinned: bool)
db/src/postgres/group.rs:538
↓ 1 callers
Method
update_friend_group
( &self, group_id: &str, name: &str, display_order: i32, )
db/src/postgres/friend.rs:434
↓ 1 callers
Method
update_friend_privacy
Privacy Settings Management implementations
db/src/postgres/friend.rs:661
↓ 1 callers
Method
update_friend_remark
( &self, user_id: &str, friend_id: &str, remark: &str, )
db/src/postgres/friend.rs:188
↓ 1 callers
Method
update_group
(&self, group: &GroupUpdate)
db/src/postgres/group.rs:262
↓ 1 callers
Method
update_group_category
(&self, category: &GroupCategory)
db/src/postgres/group.rs:418
↓ 1 callers
Method
update_group_settings
扩展方法实现
db/src/postgres/group.rs:333
↓ 1 callers
Method
update_interaction_score
Interaction Tracking implementations
db/src/postgres/friend.rs:731
↓ 1 callers
Method
update_member_settings
( &self, group_id: &str, user_id: &str, notification_level: &str, disp
db/src/postgres/group.rs:370
↓ 1 callers
Method
update_region
(&self, user_id: &str, region: &str)
db/src/postgres/user.rs:182
↓ 1 callers
Method
update_user
(&self, user: UserUpdate)
db/src/postgres/user.rs:126
↓ 1 callers
Method
upload_file
(&self, key: &str, content: Vec<u8>)
oss/src/client.rs:137
↓ 1 callers
Method
upload_group_file
(&self, req: &GroupFileUploadRequest)
db/src/postgres/group.rs:467
↓ 1 callers
Method
url
(&self)
utils/src/mongodb_tester/mod.rs:52
↓ 1 callers
Method
url
(&self, type_: &str, name: &str)
utils/src/service_register_center/consul/mod.rs:54
↓ 1 callers
Method
user_login
(&self, user_id: &str)
cache/src/redis/mod.rs:380
↓ 1 callers
Method
user_logout
(&self, user_id: &str)
cache/src/redis/mod.rs:386
↓ 1 callers
Function
user_routes
(state: AppState)
api/src/routes.rs:67
↓ 1 callers
Method
validate
(&self)
abi/src/types/msg.rs:282
↓ 1 callers
Method
verify_pwd
(&self, account: &str, password: &str)
db/src/postgres/user.rs:191
↓ 1 callers
Method
vote_poll
(&self, req: &VotePollRequest)
db/src/postgres/group.rs:593
↓ 1 callers
Method
wait
等待任务完成并返回退出原因
msg_gateway/src/ws_server.rs:347
↓ 1 callers
Method
with_batch_size
设置批量大小
cmd/src/migrate.rs:43
↓ 1 callers
Method
with_concurrency
设置并发度
cmd/src/migrate.rs:49
↓ 1 callers
Method
with_serde
(self, path: &[&str])
abi/build.rs:44
↓ 1 callers
Method
with_sqlx_type
set sqlx::Type for ReservationStatus
abi/build.rs:13
Method
abort_others
中止所有任务
msg_gateway/src/ws_server.rs:371
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
abi/src/pb/message.rs:1927
Method
account_or_pwd
()
abi/src/errors/mod.rs:165
Function
agree
同意好友请求, 需要friend db参数
api/src/handlers/friends/friend_handlers.rs:75
Function
assign_friend_to_group
( State(app_state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<UpdateFriendGro
api/src/handlers/friends/friend_handlers.rs:234
Method
bad_request
(details: impl Into<String>)
abi/src/errors/mod.rs:135
Method
body_parsing
(details: impl Into<String>)
abi/src/errors/mod.rs:170
Method
broadcast
(error: Box<dyn StdError + 'static + Send + Sync>)
abi/src/errors/mod.rs:103
Method
call
(&mut self, request: http::Request<BoxBody>)
utils/src/service_discovery/tonic_service_discovery.rs:30
Method
call
(&mut self, req: http::Request<B>)
abi/src/pb/message.rs:2205
Function
change_member_role
新增 - 成员管理增强
api/src/handlers/groups/group_handlers.rs:548
Method
clean_receive_box
(&self, period: i64, types: Vec<i32>)
db/src/mongodb/sharded_message.rs:680
Function
close_poll
( State(app_state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<ClosePollReques
api/src/handlers/groups/group_handlers.rs:409
Method
code_expired
(details: impl Into<String>)
abi/src/errors/mod.rs:145
Method
code_invalid
(details: impl Into<String>)
abi/src/errors/mod.rs:140
Function
create_announcement
新增 - 群组公告相关
api/src/handlers/groups/group_handlers.rs:487
Function
create_friend_group
好友分组管理
api/src/handlers/friends/friend_handlers.rs:182
Function
create_friend_tag
好友标签管理
api/src/handlers/friends/friend_handlers.rs:252
Function
create_friendship
创建好友请求
api/src/handlers/friends/friend_handlers.rs:52
Function
create_group_category
新增 - 群组分类相关
api/src/handlers/groups/group_handlers.rs:289
Function
create_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
Method
create_ping_task
创建Ping任务
msg_gateway/src/ws_server.rs:142
Function
create_poll
新增 - 群组投票相关
api/src/handlers/groups/group_handlers.rs:379
Method
create_receive_task
创建接收消息任务
msg_gateway/src/ws_server.rs:217
Function
create_user
register new user
api/src/handlers/users/user_handlers.rs:55
Method
create_watch_task
创建Watch任务
msg_gateway/src/ws_server.rs:190
Method
db_not_found
(details: impl Into<String>)
abi/src/errors/mod.rs:150
Method
dbname
(&self)
utils/src/mongodb_tester/mod.rs:56
Method
dbname
(&self)
utils/src/sqlx_tester/mod.rs:81
Function
default_conn
()
abi/src/config.rs:267
Function
del_msg
( State(state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<DelMsgRequest>, )
api/src/handlers/messages/msg_handlers.rs:80
Function
delete_announcement
( State(app_state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<DeleteAnnouncem
api/src/handlers/groups/group_handlers.rs:511
Method
delete_avatar
(&self, key: &str)
oss/src/client.rs:155
Method
delete_file
(&self, key: &str)
oss/src/client.rs:145
Function
delete_friend
( State(app_state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<DeleteFriendReq
api/src/handlers/friends/friend_handlers.rs:121
Function
delete_friend_group
( State(app_state): State<AppState>, PathWithAuthExtractor(id): PathWithAuthExtractor<String>, )
api/src/handlers/friends/friend_handlers.rs:216
Function
delete_friend_tag
( State(app_state): State<AppState>, PathWithAuthExtractor(id): PathWithAuthExtractor<String>, )
api/src/handlers/friends/friend_handlers.rs:269
Function
delete_group_category
( State(app_state): State<AppState>, PathWithAuthExtractor(id): PathWithAuthExtractor<String>, )
api/src/handlers/groups/group_handlers.rs:305
Function
delete_group_file
( State(app_state): State<AppState>, JsonWithAuthExtractor(req): JsonWithAuthExtractor<DeleteFileReque
api/src/handlers/groups/group_handlers.rs:346
Function
delete_group_handler
( State(app_state): State<AppState>, JsonWithAuthExtractor(group): JsonWithAuthExtractor<DeleteGroupRe
api/src/handlers/groups/group_handlers.rs:213
Method
delete_messages
(&self, user_id: &str, msg_seq: Vec<i64>)
db/src/mongodb/sharded_message.rs:336
Method
deref
(&self)
cache/src/redis/mod.rs:414
Method
deref
(&self)
db/src/mongodb/sharded_message.rs:789
Method
deref
(&self)
db/src/mongodb/message.rs:303
Method
deregister
(&self, service_id: &str)
utils/src/service_register_center/consul/mod.rs:88
Method
discovery
(&self)
utils/src/service_register_center/consul/mod.rs:76
Method
drop
(&mut self)
utils/src/mongodb_tester/mod.rs:69
Method
drop
(&mut self)
utils/src/sqlx_tester/mod.rs:87
Method
ensure_topic_exists
( topic_name: &str, brokers: &str, timeout: u16, )
msg_server/src/productor.rs:79
Method
file_exists
(&self, key: &str, _local_md5: &str)
oss/src/client.rs:133
Method
fmt
(&self, f: &mut Formatter<'_>)
abi/src/types/friend.rs:11
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
abi/src/errors/mod.rs:181
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
abi/src/pb/message.rs:2359
Method
fmt
(&self, f: &mut Formatter<'_>)
api/src/api_utils/lb/strategy.rs:25
Function
format_milliseconds
(millis: i64)
abi/src/utils.rs:3
Method
format_time
(&self, w: &mut Writer<'_>)
cmd/src/main.rs:17
Method
from
(value: GroupRole)
abi/src/types/group.rs:67
Method
from
(value: FsStatus)
abi/src/types/friend.rs:36
Method
from
(status: Status)
abi/src/types/msg.rs:11
Method
from
(e: Error)
abi/src/errors/mod.rs:198
Method
from_arc
(inner: Arc<T>)
abi/src/pb/message.rs:2145
Method
from_config
(config: &Config)
cache/src/redis/mod.rs:52
Method
from_config
(config: &Config)
utils/src/service_register_center/consul/mod.rs:23
Method
from_config
从配置创建实例
db/src/mongodb/sharded_message.rs:57
Method
from_config
(config: &Config)
db/src/mongodb/message.rs:39
Method
from_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
Method
from_request
(req: Request, state: &S)
api/src/api_utils/custom_extract/json_extractor.rs:18
Method
from_request
(req: Request, state: &S)
api/src/api_utils/custom_extract/auth.rs:38
Method
from_request_parts
(parts: &mut Parts, state: &S)
api/src/api_utils/custom_extract/path_extractor.rs:21
Method
from_request_parts
(parts: &mut Parts, state: &S)
api/src/api_utils/custom_extract/auth.rs:98
Method
from_row
(row: &PgRow)
abi/src/types/group.rs:78
Method
from_row
(row: &'_ PgRow)
abi/src/types/friend.rs:48
Method
from_row
(row: &'_ PgRow)
abi/src/types/user.rs:6
Method
from_str_name
Creates an enum from field names used in the ProtoBuf definition.
abi/src/pb/message.rs:211
← previous
next →
201–300 of 492, ranked by callers