proxy

package
v5.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostKeyGetter

type HostKeyGetter struct {
	// contains filtered or unexported fields
}

func NewHostKeyGetter

func NewHostKeyGetter() HostKeyGetter

func (HostKeyGetter) Get

func (h HostKeyGetter) Get(key, serverURL string) (ssh.PublicKey, error)

type Socks5Proxy

type Socks5Proxy struct {
	// contains filtered or unexported fields
}

func NewSocks5Proxy

func NewSocks5Proxy(logger logger, hostKeyGetter hostKeyGetter, port int) *Socks5Proxy

func (*Socks5Proxy) Addr

func (s *Socks5Proxy) Addr() string

func (*Socks5Proxy) Start

func (s *Socks5Proxy) Start(key, url string) error

Jump to

Keyboard shortcuts

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