Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EntryData ¶
Note: Adding member -> Check `NewFromEntry`.
func NewFromEntry ¶
Create new entry data from message data.
type EntryOpts ¶
type EntryOpts struct { MsgOptions DefaultAnswer string `json:"defaultAnswer"` HiddenAnswer bool `json:"hiddenAnswer,omitempty"` }
type FileOpts ¶
type FileOpts struct { WithPrompt string `json:"withPrompt,omitempty"` OfType []string `json:"ofType,omitempty"` DefaultName string `json:"defaultName,omitempty"` DefaultLocation string `json:"defaultLocation,omitempty"` Invisibles bool `json:"invisibles,omitempty"` Multiple bool `json:"multipleSelectionsAllowed,omitempty"` ShowPackages bool `json:"showPackageContents,omitempty"` }
type MsgData ¶
type MsgData struct { Operation string Text string WithIcon string Opts MsgOptions `json:"opts"` }
type MsgOptions ¶
type NotifyData ¶
type NotifyData struct { Text string Opts NotifyOpts }
type NotifyOpts ¶
type OptionsData ¶
type OptionsData struct { Operation string Separator string Items []string Opts OptionsOpts }
type OptionsOpts ¶
type OptionsOpts struct { WithTitle string `json:"withTitle,omitempty"` WithPrompt string `json:"withPrompt,omitempty"` DefaultItems []string `json:"defaultItems,omitempty"` OkButtonName string `json:"okButtonName,omitempty"` CancelButtonName string `json:"cancelButtonName,omitempty"` MultipleSelectionAllowed bool `json:"multipleSelectionsAllowed,omitempty"` EmptySelectionAllowed bool `json:"emptySelectionAllowed,omitempty"` }
Click to show internal directories.
Click to hide internal directories.