shadow

package
v0.0.0-...-c8ed71d Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapH2

func WrapH2(proxyServer, user, pass string, dialFunc func(string, string) (net.Conn, error)) func(string, string) (net.Conn, error)

func WrapSS

func WrapSS(proxyServer string, ciph core.Cipher, dialFunc func(string, string) (net.Conn, error)) func(string, string) (net.Conn, error)

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) Read

func (p *PipeReadWriteCloser) Read(b []byte) (n int, err error)

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

func (*PipeReadWriteCloser) Write

func (p *PipeReadWriteCloser) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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