proxy

package
v2.13.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2017 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 Connection

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

func NewConnection

func NewConnection(src v2net.Address, dest v2net.Destination, stream ray.Ray) *Connection

func (*Connection) Close

func (v *Connection) Close() error

Close implements net.Conn.Close().

func (*Connection) LocalAddr

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

LocalAddr implements net.Conn.LocalAddr().

func (*Connection) Read

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

Read implements net.Conn.Read().

func (*Connection) RemoteAddr

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

RemoteAddr implements net.Conn.RemoteAddr().

func (*Connection) Reusable

func (v *Connection) Reusable() bool

func (*Connection) SetDeadline

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

func (*Connection) SetReadDeadline

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

func (*Connection) SetReusable

func (v *Connection) SetReusable(bool)

func (*Connection) SetWriteDeadline

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

func (*Connection) Write

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

Write implements net.Conn.Write().

type OutboundProxy

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

func NewOutboundProxy

func NewOutboundProxy(space app.Space) *OutboundProxy

func (*OutboundProxy) Dial

Dial implements internet.Dialer.

func (*OutboundProxy) RegisterDialer

func (v *OutboundProxy) RegisterDialer()

func (*OutboundProxy) Release

func (v *OutboundProxy) Release()

Release implements common.Releasable.Release().

Jump to

Keyboard shortcuts

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