filerecorder

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileRecorder

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

FileRecorder records ssh attempts into a file as json objects

func (*FileRecorder) Close

func (f *FileRecorder) Close()

Close closes this recorder and any associated resources

func (*FileRecorder) Name

func (f *FileRecorder) Name() string

Name returns this name of this recorder

func (*FileRecorder) Open

func (f *FileRecorder) Open() error

Open prepares this recorder to start working

func (*FileRecorder) Options

func (f *FileRecorder) Options() *pflag.FlagSet

Options returns the flags that can configure this recorder

func (*FileRecorder) Record

func (f *FileRecorder) Record(s session.SlosshSession)

Record records sessions

Jump to

Keyboard shortcuts

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