Documentation
¶
Index ¶
- Variables
- func Auth() bool
- func DecryptData(encrypted string) string
- func EncryptData(data string) string
- func GetSnapshotName() string
- func MakeColored(color string, text string) string
- func PromptConfirm(message string) error
- func PromptSelect(opts PromptOpts) (string, error)
- func Setup()
- type PromptOpts
Constants ¶
This section is empty.
Variables ¶
View Source
var Colors = map[string]string{
"White": "\033[97m",
"Red": "\033[31m",
"Green": "\033[32m",
"Yellow": "\033[33m",
"Blue": "\033[34m",
"Magenta": "\033[35m",
"Cyan": "\033[36m",
"Gray": "\033[37m",
"Reset": "\033[0m",
}
Functions ¶
func DecryptData ¶
func EncryptData ¶
func GetSnapshotName ¶
func GetSnapshotName() string
func MakeColored ¶
func PromptConfirm ¶
func PromptSelect ¶
func PromptSelect(opts PromptOpts) (string, error)
Types ¶
type PromptOpts ¶
Click to show internal directories.
Click to hide internal directories.