shadowsocks-rust 1.3.2

shadowsocks is a fast tunnel proxy that helps you bypass firewalls.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Relay for TCP server that running on local environment

use std::rc::Rc;

use tokio_core::reactor::Handle;

use config::Config;

use relay::{BoxIoFuture, boxed_future};

use super::socks5_local;

/// Starts a TCP local server
pub fn run(config: Rc<Config>, handle: Handle) -> BoxIoFuture<()> {
    let tcp_fut = socks5_local::run(config.clone(), handle.clone());
    boxed_future(tcp_fut)
}