summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/examples/server_lib/mod.rs
blob: bf404d492586ebfa8977b13a3eef0731d4df4b35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Main library entry point for fatcat implementation.

mod server;

mod errors {
    error_chain! {}
}

pub use self::errors::*;

/// Instantiate a new server.
pub fn server() -> Result<server::Server> {
    Ok(server::Server {})
}