Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HachimiWorld/hachimi-world-server
/ functions
Functions
625 in github.com/HachimiWorld/hachimi-world-server
⨍
Functions
625
◇
Types & classes
274
Method
from_song_origin_info
(x: SongOriginInfo, song_display_id: Option<String>)
src/service/song.rs:67
Function
generate_captcha
( mut state: State<AppState>, )
src/web/routes/auth.rs:525
Method
get_by_display_id
(executor: E, display_id: &str)
src/db/song.rs:248
Method
get_by_email
(executor: E, email: &str)
src/db/user.rs:108
Method
get_by_id
(executor: E, id: i64)
src/db/post.rs:38
Method
get_by_id
(executor: E, id: i64)
src/db/refresh_token.rs:42
Method
get_by_id
(executor: E, id: i64)
src/db/playlist.rs:70
Method
get_by_id
(executor: E, id: i64)
src/db/song_publishing_review_history.rs:64
Method
get_by_id
(executor: E, id: i64)
src/db/song_publishing_review_comment.rs:56
Method
get_by_id
(executor: E, id: i64)
src/db/song_publishing_review.rs:63
Method
get_by_id
(executor: E, id: i64)
src/db/version.rs:38
Method
get_by_id
(executor: E, id: i64)
src/db/user.rs:48
Method
get_by_id
(executor: E, id: i64)
src/db/song_tag.rs:43
Method
get_by_id
(executor: E, id: i64)
src/db/song.rs:136
Method
get_by_id
(executor: E, id: i64)
src/db/creator.rs:32
Method
get_by_jmid_prefix
(executor: impl PgExecutor<'e>, jmid_prefix: &str)
src/db/creator.rs:85
Method
get_by_name
(executor: E, name: &str)
src/db/song_tag.rs:118
Method
get_by_token_id
(executor: E, token_id: &str)
src/db/refresh_token.rs:98
Method
get_by_user_id
(executor: E, user_id: i64, provider_type: &str)
src/db/user_connection_accounts.rs:91
Method
get_by_user_id
(executor: impl PgExecutor<'e>, user_id: i64)
src/db/creator.rs:79
Method
get_by_username
(executor: E, username: &str)
src/db/user.rs:114
Method
get_favorite
(executor: E, user_id: i64, playlist_id: i64)
src/db/playlist.rs:234
Function
get_file_host
(config: Config)
src/main.rs:155
Function
get_followers
Get the followers list with cursor pagination.
src/service/follow.rs:168
Function
get_followers
( claims: Claims, state: State<AppState>, req: Query<FollowingListReq>, )
src/web/routes/user.rs:496
Function
get_following
Get the following list with cursor pagination.
src/service/follow.rs:116
Function
get_following
( claims: Claims, state: State<AppState>, req: Query<FollowingListReq>, )
src/web/routes/user.rs:472
Method
get_latest_version
(executor: impl PgExecutor<'e>, variant: &str, end_time: DateTime<Utc>)
src/db/version.rs:95
Function
get_meilisearch_client
(config: Config, pool: &PgPool)
src/main.rs:186
Method
get_num
(&self, key: &str)
src/config.rs:59
Function
get_play_count
( redis: &mut ConnectionManager, red_lock: &RedLock, sql_pool: &PgPool, song_id: i64 )
src/service/song_play.rs:9
Function
get_profile
( state: State<AppState>, claims: OptionalClaims, req: Query<GetProfileReq>, )
src/web/routes/user.rs:57
Function
get_public_detail_with_cache_legacy
( mut redis: ConnectionManager, sql_pool: &PgPool, song_id_list: &[i64], )
src/service/song.rs:189
Method
get_random_tags
(executor: E, limit: i64)
src/db/song_tag.rs:133
Function
get_redis_pool
(config: Config)
src/main.rs:122
Function
get_song_likes_batch
( redis_conn: ConnectionManager, sql_pool: &PgPool, song_ids: &[i64], )
src/service/song_like.rs:9
Method
get_str
(&self, key: &str)
src/config.rs:49
Function
get_test_meilisearch
()
tests/common/mod.rs:125
Function
get_test_redis_conn
()
tests/common/mod.rs:106
Function
get_test_sql_pool
()
tests/common/mod.rs:116
Function
greet
()
src/web/routes/user.rs:47
Function
health
()
src/web/mod.rs:81
Function
hot_weekly
( state: State<AppState> )
src/web/routes/song.rs:347
Method
increase_follower_count
(executor: E, uid: i64, delta: i64)
src/db/follow.rs:147
Method
increase_following_count
(executor: E, uid: i64, delta: i64)
src/db/follow.rs:136
Method
insert
(executor: E, value: &Self::Entity)
src/db/refresh_token.rs:70
Method
insert
(executor: E, value: &Self::Entity)
src/db/playlist.rs:99
Method
insert
(executor: E, value: &Self::Entity)
src/db/song_publishing_review_history.rs:90
Method
insert
(executor: E, value: &Self::Entity)
src/db/song_publishing_review_comment.rs:79
Method
insert
(executor: E, value: &UserConnectionAccount)
src/db/user_connection_accounts.rs:30
Method
insert
(executor: E, value: &Self::Entity)
src/db/song_publishing_review.rs:97
Method
insert
(executor: E, value: &Self::Entity)
src/db/version.rs:66
Method
insert
(executor: E, value: &User)
src/db/user.rs:54
Method
insert
(executor: E, value: &Self::Entity)
src/db/song_tag.rs:70
Method
insert
(executor: E, value: &Self::Entity)
src/db/song.rs:191
Method
insert
(executor: E, value: &Self::Entity)
src/db/creator.rs:57
Method
insert_ignore
Insert a follow relationship. Returns true if a new row was inserted, false if the relationship already existed.
src/db/follow.rs:40
Method
insert_likes
(executor: E, values: &[SongLike])
src/db/song.rs:383
Method
insert_plays
(executor: E, values: &[SongPlay])
src/db/song.rs:419
Method
into_response
(self)
src/web/jwt.rs:188
Method
into_response
(self)
src/web/result.rs:199
Method
is_liked
(executor: E, song_id: i64, user_id: i64)
src/db/song.rs:396
Function
jmid_check
Check if the full jmid is available
src/web/routes/publish/jmid.rs:44
Function
jmid_check_prefix
Check if the jmid prefix part is not used by anyone
src/web/routes/publish/jmid.rs:24
Function
jmid_get_next
Get the next available jmid for this creator. Only available for a creator who had already specified a jm-code # Errors - `jmid_prefix_not_specified`
src/web/routes/publish/jmid.rs:77
Function
jmid_mine
( claims: Claims, state: State<AppState>, )
src/web/routes/publish/jmid.rs:58
Function
latest_version
(state: State<AppState>, req: Query<LatestVersionReq>)
src/web/routes/version.rs:55
Function
latest_version_batch
(state: State<AppState>, req: Json<LatestVersionBatchReq>)
src/web/routes/version.rs:76
Function
like
( redis_conn: &ConnectionManager, sql_pool: &PgPool, uid: i64, song_id: i64, playback_position
src/service/song_like.rs:59
Function
like
( claims: Claims, state: State<AppState>, req: Json<LikeReq>, )
src/web/routes/song.rs:384
Function
likes_status
( claims: Claims, state: State<AppState>, req: Query<LikeStatusReq>, )
src/web/routes/song.rs:427
Method
list
(executor: E)
src/db/post.rs:26
Method
list
(_executor: E)
src/db/refresh_token.rs:34
Method
list
(_executor: E)
src/db/playlist.rs:62
Method
list
(executor: E)
src/db/song_publishing_review_history.rs:44
Method
list
(executor: E)
src/db/song_publishing_review_comment.rs:39
Method
list
(executor: E)
src/db/song_publishing_review.rs:53
Method
list
(_executor: E)
src/db/version.rs:28
Method
list
(executor: E)
src/db/user.rs:36
Method
list
(executor: E)
src/db/song_tag.rs:33
Method
list
(executor: E)
src/db/song.rs:126
Method
list
(_executor: E)
src/db/creator.rs:24
Method
list_by_create_time_after
(executor: E, create_time: DateTime<Utc>, limit: i64)
src/db/song.rs:307
Method
list_by_create_time_before
(executor: E, create_time: DateTime<Utc>, limit: i64)
src/db/song.rs:312
Method
list_by_ids
(executor: E, ids: &[i64])
src/db/playlist.rs:172
Method
list_by_ids
(executor: E, ids: &[i64])
src/db/user.rs:102
Method
list_by_ids
(executor: E, ids: &[i64])
src/db/song_tag.rs:100
Method
list_by_ids
(executor: E, ids: &[i64])
src/db/song.rs:299
Method
list_by_jmid
(executor: E, jmid: &str)
src/db/song_publishing_review.rs:141
Method
list_by_song_ids
(executor: E, song_ids: &[i64])
src/db/song_tag.rs:109
Method
list_by_uid
(executor: E, uid: i64)
src/db/refresh_token.rs:107
Method
list_by_user
(executor: E, user_id: i64)
src/db/playlist.rs:166
Method
list_by_user_id
(executor: E, user_id: i64)
src/db/user_connection_accounts.rs:71
Function
list_containing
( claims: Claims, state: State<AppState>, req: Query<ListContainingReq>, )
src/web/routes/playlist.rs:203
Method
list_containing
(executor: E, song_id: i64, user_id: i64)
src/db/playlist.rs:179
Method
list_external_link_by_song_id
(executor: E, song_id: i64)
src/db/song.rs:288
Method
list_external_link_by_song_ids
(executor: E, song_ids: &[i64])
src/db/song.rs:293
Method
list_followers
Get the list of followers of `followed_id`, with cursor pagination.
src/db/follow.rs:110
Method
list_following
Get the list of users that `follower_id` is following, with cursor pagination.
src/db/follow.rs:83
Method
list_origin_info_by_song_id
(executor: E, song_id: i64)
src/db/song.rs:265
← previous
next →
301–400 of 625, ranked by callers