prompt

package
v0.0.0-...-1b5e7ed Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DefinitionName = "prompt"

Variables

View Source
var (
	Definition = di.Def{
		Name: DefinitionName,
		Build: func(ctn di.Container) (interface{}, error) {
			return newPrompt(), nil
		},
	}
)

Functions

This section is empty.

Types

type Prompt

type Prompt interface {
	StartChar() string
	Hostname() string
	SetHostname(hostname string)
	Username() string
	SetUsername(username string)
}

Jump to

Keyboard shortcuts

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