Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ForwardRequest ¶
func ParseForwardRequest ¶
func ParseForwardRequest(payload []byte) (ForwardRequest, error)
func (ForwardRequest) Address ¶
func (fr ForwardRequest) Address() string
type HTTPForwarder ¶
type HTTPForwarder struct { Request ForwardRequest Hostname string // contains filtered or unexported fields }
func NewHTTPForwarder ¶
func NewHTTPForwarder(hostname string, conn *ssh.ServerConn, req ForwardRequest) *HTTPForwarder
func (*HTTPForwarder) AttachClientLog ¶
func (f *HTTPForwarder) AttachClientLog(w io.Writer)
func (*HTTPForwarder) Close ¶
func (f *HTTPForwarder) Close()
func (*HTTPForwarder) ListenerAddress ¶
func (f *HTTPForwarder) ListenerAddress() string
func (*HTTPForwarder) ListenerPort ¶
func (f *HTTPForwarder) ListenerPort() uint32
func (*HTTPForwarder) Serve ¶
func (f *HTTPForwarder) Serve() error
func (*HTTPForwarder) UseTLS ¶
func (f *HTTPForwarder) UseTLS(use bool) *HTTPForwarder
type RawForwarder ¶
type RawForwarder struct { Request ForwardRequest Hostname string // contains filtered or unexported fields }
func NewRawForwarder ¶
func NewRawForwarder(hostname string, conn *ssh.ServerConn, req ForwardRequest) *RawForwarder
func (*RawForwarder) AttachClientLog ¶
func (f *RawForwarder) AttachClientLog(w io.Writer)
func (*RawForwarder) Close ¶
func (f *RawForwarder) Close()
func (*RawForwarder) ListenerAddress ¶
func (f *RawForwarder) ListenerAddress() string
func (*RawForwarder) ListenerPort ¶
func (f *RawForwarder) ListenerPort() uint32
func (*RawForwarder) Serve ¶
func (f *RawForwarder) Serve() error
type TLSWrapper ¶
type TLSWrapper struct {
// contains filtered or unexported fields
}
func NewTLSWrapper ¶
func NewTLSWrapper(ch io.ReadWriteCloser) TLSWrapper
func (TLSWrapper) Close ¶
func (wrap TLSWrapper) Close() error
Click to show internal directories.
Click to hide internal directories.