autosave 0.2.0

Automatically save all your changes to the repository
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::types;
use axum::{
    Router,
    routing::{get, post},
};

mod kill;
mod watch;

pub use kill::kill_signal;

pub fn routes() -> Router<types::ApiState> {
    Router::new()
        .route("/watch", get(watch::get_watch_list))
        .route("/watch", post(watch::change_watch_list))
        .route("/kill", post(kill::kill))
}