SYMBOL INDEX (29 symbols across 9 files) FILE: cmd/transocks/main.go type tomlConfig (line 15) | type tomlConfig struct constant defaultAddr (line 22) | defaultAddr = "localhost:1081" function loadConfig (line 30) | func loadConfig() (*transocks.Config, error) { function serve (line 59) | func serve(lns []net.Listener, c *transocks.Config) { function main (line 74) | func main() { FILE: config.go constant defaultShutdownTimeout (line 15) | defaultShutdownTimeout = 1 * time.Minute type Mode (line 19) | type Mode method String (line 21) | func (m Mode) String() string { constant ModeNAT (line 27) | ModeNAT = Mode("nat") type Config (line 31) | type Config struct method validate (line 76) | func (c *Config) validate() error { function NewConfig (line 67) | func NewConfig() *Config { FILE: defs_linux.go constant SO_ORIGINAL_DST (line 8) | SO_ORIGINAL_DST = 80 constant IP6T_SO_ORIGINAL_DST (line 11) | IP6T_SO_ORIGINAL_DST = 80 FILE: http_tunnel.go function init (line 25) | func init() { type httpDialer (line 29) | type httpDialer struct method Dial (line 52) | func (d *httpDialer) Dial(network, addr string) (c net.Conn, err error) { function httpDialType (line 35) | func httpDialType(u *url.URL, forward proxy.Dialer) (proxy.Dialer, error) { FILE: http_tunnel_test.go function TestHTTPDialer (line 11) | func TestHTTPDialer(t *testing.T) { FILE: original_dst_linux.go function getsockopt (line 12) | func getsockopt(s int, level int, optname int, optval unsafe.Pointer, op... function GetOriginalDST (line 29) | func GetOriginalDST(conn *net.TCPConn) (*net.TCPAddr, error) { FILE: original_dst_linux_test.go function TestGetOriginalDST (line 10) | func TestGetOriginalDST(t *testing.T) { FILE: original_dst_stub.go function GetOriginalDST (line 14) | func GetOriginalDST(conn *net.TCPConn) (*net.TCPAddr, error) { FILE: server.go constant keepAliveTimeout (line 17) | keepAliveTimeout = 3 * time.Minute constant copyBufferSize (line 18) | copyBufferSize = 64 << 10 function Listeners (line 22) | func Listeners(c *Config) ([]net.Listener, error) { type Server (line 31) | type Server struct method handleConnection (line 80) | func (s *Server) handleConnection(ctx context.Context, conn net.Conn) { function NewServer (line 41) | func NewServer(c *Config) (*Server, error) {