unmp-center 0.1.2

unmp data center
Documentation
//! 数据中心

#![no_std]
#![feature(const_fn_fn_ptr_basics)]
extern crate alloc;

pub mod event;
pub mod link;
pub mod request;
mod var;

use unmp::id::Id;
use unmp::net;

pub fn init(id: Id) {
    let mut cfg = net::Config::new(id);
    cfg.set_relay(false);
    net::init(cfg);
}