Documentation ¶
Index ¶
- Constants
- type OutboundProxy
- type ProxyConnection
- func (this *ProxyConnection) Close() error
- func (this *ProxyConnection) LocalAddr() net.Addr
- func (this *ProxyConnection) Read(b []byte) (int, error)
- func (this *ProxyConnection) RemoteAddr() net.Addr
- func (this *ProxyConnection) Reusable() bool
- func (this *ProxyConnection) SetDeadline(t time.Time) error
- func (this *ProxyConnection) SetReadDeadline(t time.Time) error
- func (this *ProxyConnection) SetReusable(bool)
- func (this *ProxyConnection) SetWriteDeadline(t time.Time) error
- func (this *ProxyConnection) Write(b []byte) (int, error)
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 (this *OutboundProxy) Dial(src v2net.Address, dest v2net.Destination, options internet.DialerOptions) (internet.Connection, error)
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) 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
Click to show internal directories.
Click to hide internal directories.