proxy

package
v2.8.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2016 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	APP_ID = 7
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OutboundProxy

type OutboundProxy struct {
	// contains filtered or unexported fields
}

func NewOutboundProxy

func NewOutboundProxy(space app.Space) *OutboundProxy

func (*OutboundProxy) Dial

func (*OutboundProxy) RegisterDialer

func (v *OutboundProxy) RegisterDialer()

func (*OutboundProxy) Release

func (v *OutboundProxy) Release()

type ProxyConnection

type ProxyConnection struct {
	// contains filtered or unexported fields
}

func NewProxyConnection

func NewProxyConnection(src v2net.Address, dest v2net.Destination, stream ray.Ray) *ProxyConnection

func (*ProxyConnection) Close

func (v *ProxyConnection) Close() error

func (*ProxyConnection) LocalAddr

func (v *ProxyConnection) LocalAddr() net.Addr

func (*ProxyConnection) Read

func (v *ProxyConnection) Read(b []byte) (int, error)

func (*ProxyConnection) RemoteAddr

func (v *ProxyConnection) RemoteAddr() net.Addr

func (*ProxyConnection) Reusable

func (v *ProxyConnection) Reusable() bool

func (*ProxyConnection) SetDeadline

func (v *ProxyConnection) SetDeadline(t time.Time) error

func (*ProxyConnection) SetReadDeadline

func (v *ProxyConnection) SetReadDeadline(t time.Time) error

func (*ProxyConnection) SetReusable

func (v *ProxyConnection) SetReusable(bool)

func (*ProxyConnection) SetWriteDeadline

func (v *ProxyConnection) SetWriteDeadline(t time.Time) error

func (*ProxyConnection) Write

func (v *ProxyConnection) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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