handlers

package
v0.0.0-...-9774daa Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2015 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHHandler

type SSHHandler interface {

	// Handle processes SSH connections. The requests chan can be disregarded if it is not needed.
	Handle(t tomb.Tomb, conn *ssh.ServerConn, channel ssh.Channel, requests <-chan *ssh.Request) error
}

A SSHHandler is registered with an SSH server to process incoming connections on a particular channel.

func NewShellHandler

func NewShellHandler(logger log.Logger) SSHHandler

Jump to

Keyboard shortcuts

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