Documentation ¶
Index ¶
- func WrapH2(proxyServer, user, pass string, ...) func(string, string) (net.Conn, error)
- func WrapSS(proxyServer string, ciph core.Cipher, ...) func(string, string) (net.Conn, error)
- type PipeReadWriteCloser
- func (p *PipeReadWriteCloser) Close() error
- func (p *PipeReadWriteCloser) CloseRead() error
- func (p *PipeReadWriteCloser) LocalAddr() net.Addr
- func (p *PipeReadWriteCloser) Read(b []byte) (n int, err error)
- func (p *PipeReadWriteCloser) RemoteAddr() net.Addr
- func (p *PipeReadWriteCloser) SetDeadline(t time.Time) error
- func (p *PipeReadWriteCloser) SetReadDeadline(t time.Time) error
- func (p *PipeReadWriteCloser) SetWriteDeadline(t time.Time) error
- func (p *PipeReadWriteCloser) Write(b []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PipeReadWriteCloser ¶
type PipeReadWriteCloser struct {
// contains filtered or unexported fields
}
func (*PipeReadWriteCloser) Close ¶
func (p *PipeReadWriteCloser) Close() error
func (*PipeReadWriteCloser) CloseRead ¶
func (p *PipeReadWriteCloser) CloseRead() error
func (*PipeReadWriteCloser) LocalAddr ¶
func (p *PipeReadWriteCloser) LocalAddr() net.Addr
func (*PipeReadWriteCloser) RemoteAddr ¶
func (p *PipeReadWriteCloser) RemoteAddr() net.Addr
func (*PipeReadWriteCloser) SetDeadline ¶
func (p *PipeReadWriteCloser) SetDeadline(t time.Time) error
func (*PipeReadWriteCloser) SetReadDeadline ¶
func (p *PipeReadWriteCloser) SetReadDeadline(t time.Time) error
func (*PipeReadWriteCloser) SetWriteDeadline ¶
func (p *PipeReadWriteCloser) SetWriteDeadline(t time.Time) error
Click to show internal directories.
Click to hide internal directories.