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