longshoreman 0.1.0

asynchronous Docker client in pure Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod tcp;
pub use tcp::Tcp;

#[cfg(target_os = "linux")]
mod uds;
#[cfg(target_os = "linux")]
pub use uds::Uds;

pub trait Transport {
    fn uri(&self, endpoint: &str) -> String;

    fn send_request(&self, req: hyper::Request<hyper::Body>) -> hyper::client::ResponseFuture;
}