testssh

package
v1.24.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 13 Imported by: 0

README

testssh

testssh implements an ssh server that can be instructed to delay commands. It is used to test misbehaving git servers.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestServer

type TestServer struct {
	Port       int
	KnownHosts string
	ClientKey  string
	Url        string
	// contains filtered or unexported fields
}

func New

func New(workdir string) *TestServer

func (*TestServer) Close

func (ts *TestServer) Close()

func (*TestServer) DelayExecs

func (ts *TestServer) DelayExecs(dr time.Duration)

Jump to

Keyboard shortcuts

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