Documentation ¶ Index ¶ func Confirm(prompt string) bool func PrintError(msg string, jsonMode bool) func PrintResult(r Result, jsonMode bool) type Result Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Confirm ¶ func Confirm(prompt string) bool func PrintError ¶ func PrintError(msg string, jsonMode bool) func PrintResult ¶ func PrintResult(r Result, jsonMode bool) Types ¶ type Result ¶ type Result struct { Action string `json:"action"` Hostname string `json:"hostname"` IP string `json:"ip,omitempty"` Status string `json:"status"` Message string `json:"message,omitempty"` } Source Files ¶ View all Source files output.goprompt.go Click to show internal directories. Click to hide internal directories.