Documentation ¶
Overview ¶
Prompt provides user input handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNack = errors.New("negative ack")
)
View Source
var InputBufferSize int = 1000
Functions ¶
This section is empty.
Types ¶
type ConfirmationPrompt ¶
type ConfirmationPrompt struct {
// contains filtered or unexported fields
}
func NewConfirmationPrompt ¶
func (*ConfirmationPrompt) Prompt ¶
func (p *ConfirmationPrompt) Prompt() error
type GuidedPrompt ¶
type GuidedPrompt struct {
// contains filtered or unexported fields
}
func NewGuidedPrompt ¶
func (*GuidedPrompt) Prompt ¶
func (p *GuidedPrompt) Prompt() error
Click to show internal directories.
Click to hide internal directories.