fakeshell

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Embedded = true

Variables

View Source
var PathPatt = regexp.MustCompile(`^\.>\.?/`)

Functions

This section is empty.

Types

type Config

type Config = conf.FakeshellConfig

type Shell

type Shell struct {
	C *conf.FakeshellConfig

	ssh.Channel
	// contains filtered or unexported fields
}

func NewShell

func NewShell(c *conf.FakeshellConfig, ch ssh.Channel) *Shell

func (Shell) RunLoop

func (s Shell) RunLoop(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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