netlink_http 0.2.8

NetLink is a decentralized networking tool built on the 'rustp2p' library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub mod service;
pub mod web_server;

pub use netlink_core::config::*;
use std::net::SocketAddr;

pub struct HttpConfiguration {
    pub addr: SocketAddr,
    pub user_info: Option<HttpUserInfo>,
}

pub struct HttpUserInfo {
    pub username: String,
    pub password: String,
}