Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Thodin/axum-clean-architecture
/ functions
Functions
23 in github.com/Thodin/axum-clean-architecture
⨍
Functions
23
◇
Types & classes
14
↓ 2 callers
Method
add
(&self, username: &str, email: &str, password: &SecretString)
src/application/use_cases/user.rs:36
↓ 1 callers
Function
argon2_password_hasher
()
src/infra/mod.rs:17
↓ 1 callers
Function
create_app
(app_state: AppState)
src/infra/app.rs:11
↓ 1 callers
Method
create_user
( &self, username: &str, email: &str, _password_hash: &str,
src/application/use_cases/user.rs:58
↓ 1 callers
Method
hash_password
(&self, password: &str)
src/application/use_cases/user.rs:74
↓ 1 callers
Function
init_app_state
()
src/infra/setup.rs:10
↓ 1 callers
Function
init_db
()
src/infra/db.rs:6
↓ 1 callers
Function
init_tracing
()
src/infra/setup.rs:24
↓ 1 callers
Function
postgres_persistence
()
src/infra/mod.rs:11
↓ 1 callers
Function
router
()
src/adapters/http/routes/mod.rs:7
Function
add_user_works
()
src/application/use_cases/user.rs:80
Method
create_user
(&self, username: &str, email: &str, password_hash: &str)
src/adapters/persistence/user.rs:35
Method
from
(value: sqlx::Error)
src/adapters/persistence/mod.rs:19
Method
from
(user_db: UserDb)
src/adapters/persistence/user.rs:23
Method
from_env
()
src/infra/config.rs:12
Method
from_ref
(app_state: &AppState)
src/adapters/http/app_state.rs:14
Method
hash_password
(&self, password: &str)
src/adapters/crypto/argon2.rs:17
Method
into_response
(self)
src/adapters/http/app_error_impl.rs:8
Function
main
()
src/main.rs:7
Method
new
(pool: PgPool)
src/adapters/persistence/mod.rs:13
Method
new
( hasher: Arc<dyn UserCredentialsHasher>, persistence: Arc<dyn UserPersistence>, )
src/application/use_cases/user.rs:25
Function
register
( State(user_use_cases): State<Arc<UserUseCases>>, Json(payload): Json<RegisterPayload>, )
src/adapters/http/routes/user.rs:30
Function
router
()
src/adapters/http/routes/user.rs:12