chserver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectStreams

func ConnectStreams(l *chshare.Logger, chans <-chan ssh.NewChannel, remote string)

Types

type Config

type Config struct {
	KeySeed string
	Remote  string
}

type Server

type Server struct {
	*chshare.Logger
	Remote string
	// contains filtered or unexported fields
}

func NewServer

func NewServer(config *Config) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) HandleHTTP

func (s *Server) HandleHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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