Documentation
¶
Overview ¶
Package userinput provides types for the item/tool/requestUserInput protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Answer ¶
type Answer struct {
Answers []string
}
Answer contains the user's response(s) to a question.
type Question ¶
type Question struct {
ID string
Header string
Question string
IsOther bool
IsSecret bool
Options []QuestionOption // nil means free text input
}
Question represents a single question posed to the user.
type QuestionOption ¶
QuestionOption represents a selectable choice within a question.
Click to show internal directories.
Click to hide internal directories.