go_shadowsocks2

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log yagl.Logger // set by main.go

Functions

func TcpRemote

func TcpRemote(addr string, shadow func(net.Conn) net.Conn, socks5Addr string, account Account)

Listen on addr for incoming connections. Modified from github.com/shadowsocks/go-shadowsocks2/tcp.go

Types

type Account

type Account interface {
	IncrementTraffic(int64)
	SigChan() chan int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL