Documentation ¶ Index ¶ type Client func NewClient(tunnel string) (*Client, error) func (t *Client) Connect(ctx context.Context) (io.ReadWriteCloser, error) type Server func NewServer(tunnel string) (*Server, error) func (s *Server) ListenAndServeTLS(certFile, keyFile string, handler func(io.ReadWriter)) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func NewClient ¶ func NewClient(tunnel string) (*Client, error) func (*Client) Connect ¶ func (t *Client) Connect(ctx context.Context) (io.ReadWriteCloser, error) type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(tunnel string) (*Server, error) func (*Server) ListenAndServeTLS ¶ func (s *Server) ListenAndServeTLS(certFile, keyFile string, handler func(io.ReadWriter)) error Source Files ¶ View all Source files client.go server.go Click to show internal directories. Click to hide internal directories.