proxy

package
v2.12.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2016 License: MIT Imports: 11 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 (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