MCPcopy Create free account

hub / github.com/biluohc/actixweb-sqlx-jwt / functions

Functions39 in github.com/biluohc/actixweb-sqlx-jwt

↓ 16 callersMethodwith_msg
(mut self, msg: S)
src/api.rs:28
↓ 13 callersMethodcode
(mut self, code: i32)
src/api.rs:24
↓ 7 callersMethodwith_data
(mut self, data: T)
src/api.rs:35
↓ 5 callersMethoduser_query
(&self, who: &str)
src/users/dao.rs:7
↓ 3 callersFunctioncolumn_placeholder
(id_or_name_or_email: &str)
src/users/dao.rs:86
↓ 2 callersFunctionfirst_char_is_number
(s: &str)
src/users/user.rs:89
↓ 2 callersMethodlog
(&self, req: &HttpRequest)
src/api.rs:43
↓ 2 callersMethodlog_to_resp
(&self, req: &HttpRequest)
src/api.rs:39
↓ 2 callersMethodpasshash
(&self)
src/users/user.rs:84
↓ 2 callersMethodto_resp
(&self)
src/api.rs:53
↓ 1 callersMethodinto_state
(self)
src/config.rs:31
↓ 1 callersFunctionpasshash
PBKDF2 < bcrypt < scrypt
src/users/user.rs:2
↓ 1 callersFunctionpasshash_verify
(name: &str, pass: &str, hash: &str)
src/users/user.rs:8
↓ 1 callersMethodrespond_to
(self, req: &HttpRequest)
src/api.rs:95
↓ 1 callersMethoduser_add
(&self, form: &Register)
src/users/dao.rs:34
↓ 1 callersMethoduser_delete
(&self, who: &str)
src/users/dao.rs:51
↓ 1 callersMethodverify
(&self, hash: &str)
src/users/user.rs:45
Functiondelete
( form: web::Path<String>, auth: AuthorizationService, state: AppState, )
src/users/routes.rs:131
Methoderror_response
(&self)
src/api.rs:77
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/api.rs:67
Functionformat
(base: &BaseFormater, record: &Record)
src/config.rs:166
Methodfrom_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
Functioninfo
( form: web::Path<String>, auth: AuthorizationService, state: AppState, )
src/users/routes.rs:80
Functioninit
(cfg: &mut web::ServiceConfig)
src/users/routes.rs:165
Functionjson_error_handler
return 200 all
src/api.rs:119
Functionlogin
(form: web::Json<Login>, state: AppState)
src/users/routes.rs:34
Functionmain
()
build.rs:5
Functionmain
()
src/main.rs:26
Methodmsg_as_str
(&self)
src/api.rs:32
Methodnew
()
src/api.rs:17
Functionnotfound
(req: HttpRequest)
src/api.rs:130
Methodparse_from_args
()
src/config.rs:118
Methodparse_from_file
(file: &PathBuf)
src/config.rs:24
Functionregister
(form: web::Json<Register>, state: AppState)
src/users/routes.rs:12
Methodshow
generate and show config string
src/config.rs:82
Methodstatus_code
(&self)
src/api.rs:74
Methoduser_delete
(&self, who: &str)
src/users/dao.rs:19
Functionvalidate_username
(username: &str)
src/users/user.rs:67
Functionversion_with_gitif
()
src/config.rs:88