Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/biluohc/actixweb-sqlx-jwt
/ functions
Functions
39 in github.com/biluohc/actixweb-sqlx-jwt
⨍
Functions
39
◇
Types & classes
14
↓ 16 callers
Method
with_msg
(mut self, msg: S)
src/api.rs:28
↓ 13 callers
Method
code
(mut self, code: i32)
src/api.rs:24
↓ 7 callers
Method
with_data
(mut self, data: T)
src/api.rs:35
↓ 5 callers
Method
user_query
(&self, who: &str)
src/users/dao.rs:7
↓ 3 callers
Function
column_placeholder
(id_or_name_or_email: &str)
src/users/dao.rs:86
↓ 2 callers
Function
first_char_is_number
(s: &str)
src/users/user.rs:89
↓ 2 callers
Method
log
(&self, req: &HttpRequest)
src/api.rs:43
↓ 2 callers
Method
log_to_resp
(&self, req: &HttpRequest)
src/api.rs:39
↓ 2 callers
Method
passhash
(&self)
src/users/user.rs:84
↓ 2 callers
Method
to_resp
(&self)
src/api.rs:53
↓ 1 callers
Method
into_state
(self)
src/config.rs:31
↓ 1 callers
Function
passhash
PBKDF2 < bcrypt < scrypt
src/users/user.rs:2
↓ 1 callers
Function
passhash_verify
(name: &str, pass: &str, hash: &str)
src/users/user.rs:8
↓ 1 callers
Method
respond_to
(self, req: &HttpRequest)
src/api.rs:95
↓ 1 callers
Method
user_add
(&self, form: &Register)
src/users/dao.rs:34
↓ 1 callers
Method
user_delete
(&self, who: &str)
src/users/dao.rs:51
↓ 1 callers
Method
verify
(&self, hash: &str)
src/users/user.rs:45
Function
delete
( form: web::Path<String>, auth: AuthorizationService, state: AppState, )
src/users/routes.rs:131
Method
error_response
(&self)
src/api.rs:77
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/api.rs:67
Function
format
(base: &BaseFormater, record: &Record)
src/config.rs:166
Method
from_request
1. header: Authorization: Bearer xxx 2. URL's query: ?access_token=xxx 3x. Body's query: ?access_token=xxx
src/middlewares/auth.rs:27
Function
info
( form: web::Path<String>, auth: AuthorizationService, state: AppState, )
src/users/routes.rs:80
Function
init
(cfg: &mut web::ServiceConfig)
src/users/routes.rs:165
Function
json_error_handler
return 200 all
src/api.rs:119
Function
login
(form: web::Json<Login>, state: AppState)
src/users/routes.rs:34
Function
main
()
build.rs:5
Function
main
()
src/main.rs:26
Method
msg_as_str
(&self)
src/api.rs:32
Method
new
()
src/api.rs:17
Function
notfound
(req: HttpRequest)
src/api.rs:130
Method
parse_from_args
()
src/config.rs:118
Method
parse_from_file
(file: &PathBuf)
src/config.rs:24
Function
register
(form: web::Json<Register>, state: AppState)
src/users/routes.rs:12
Method
show
generate and show config string
src/config.rs:82
Method
status_code
(&self)
src/api.rs:74
Method
user_delete
(&self, who: &str)
src/users/dao.rs:19
Function
validate_username
(username: &str)
src/users/user.rs:67
Function
version_with_gitif
()
src/config.rs:88