proxy

package
v2.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2016 License: MIT Imports: 12 Imported by: 0

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 (this *OutboundProxy) RegisterDialer()

func (*OutboundProxy) Release

func (this *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 (this *ProxyConnection) Close() error

func (*ProxyConnection) LocalAddr

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

func (*ProxyConnection) Read

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

func (*ProxyConnection) RemoteAddr

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

func (*ProxyConnection) Reusable

func (this *ProxyConnection) Reusable() bool

func (*ProxyConnection) SetDeadline

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

func (*ProxyConnection) SetReadDeadline

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

func (*ProxyConnection) SetReusable

func (this *ProxyConnection) SetReusable(bool)

func (*ProxyConnection) SetWriteDeadline

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

func (*ProxyConnection) Write

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

Jump to

Keyboard shortcuts

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