daemon

package
v0.0.0-...-9fbfcc2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KeyGetConfig is the key in the ssh Context
	KeyGetConfig = "protectedssh_ctxkey_options"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

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

Daemon is the current daemon process.

func New

func New(cfg *config.Config) Daemon

New returns a new Daemon.

func (*Daemon) Serve

func (daemon *Daemon) Serve() error

Serve starts listening for incoming ssh connections and handles them appropriately.

Jump to

Keyboard shortcuts

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