entertainarr-adapter-http 0.1.1

HTTP adapter for entertainarr
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use axum::routing::post;

mod login;
mod signup;

pub fn create<S>() -> axum::Router<S>
where
    S: crate::server::prelude::ServerState + Clone,
{
    axum::Router::new()
        .route("/auth/login", post(login::handle::<S>))
        .route("/auth/signup", post(signup::handle::<S>))
}