server

package
v0.0.0-...-f463375 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2016 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UnknownChannel    = errors.New("Unknown channel type")
	NotYetImplemented = errors.New("Not yet implemented")
	ShellDisabled     = errors.New("Shell access is not allowed")
	UnknownCommand    = errors.New("Unknown command")
	UnkownRequest     = errors.New("Unknown request")
	Done              = errors.New("Done")
)

Functions

func StartServer

func StartServer() (io.Closer, error)

Types

type Handler

type Handler interface {
	Request(ssh.Channel, *ssh.Request) (bool, error)
}

func NewHandle

func NewHandle(name string) (Handler, error)

Jump to

Keyboard shortcuts

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