prompt

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Methods = map[string]PromptFunc{
	"terminal": TerminalPrompt,
}

Functions

func Available

func Available() []string

func TerminalPrompt

func TerminalPrompt(prompt string) (string, error)

Types

type PromptFunc

type PromptFunc func(string) (string, error)

func Method

func Method(s string) PromptFunc

Jump to

Keyboard shortcuts

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