Documentation ¶
Index ¶
- func FilterInput(r rune) (rune, bool)
- type Interactive
- func (i *Interactive) Confirm(q string) bool
- func (i *Interactive) PasswordQuestion(msg string, required bool) (result string)
- func (i *Interactive) PreparePrompt(q string)
- func (i *Interactive) Question(q string, required bool, def string) string
- func (i *Interactive) ServerPassword(required bool) ([]byte, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterInput ¶
Types ¶
type Interactive ¶
func (*Interactive) Confirm ¶
func (i *Interactive) Confirm(q string) bool
func (*Interactive) PasswordQuestion ¶
func (i *Interactive) PasswordQuestion(msg string, required bool) (result string)
func (*Interactive) PreparePrompt ¶
func (i *Interactive) PreparePrompt(q string)
func (*Interactive) Question ¶
func (i *Interactive) Question(q string, required bool, def string) string
func (*Interactive) ServerPassword ¶
func (i *Interactive) ServerPassword(required bool) ([]byte, string)
Click to show internal directories.
Click to hide internal directories.