Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ANSI Colors Normal = "\033[0m" Black = "\033[30m" Red = "\033[31m" Green = "\033[32m" Orange = "\033[33m" Blue = "\033[34m" Purple = "\033[35m" Cyan = "\033[36m" Gray = "\033[37m" Bold = "\033[1m" Clearln = "\r\x1b[2K" UpN = "\033[%dA" DownN = "\033[%dB" Underline = "\033[4m" // Info - Display colorful information Info = Bold + Cyan + "[*] " + Normal // Warn - Warn a user Warn = Bold + Red + "[!] " + Normal // Debug - Display debug information Debug = Bold + Purple + "[-] " + Normal // Woot - Display success Woot = Bold + Green + "[$] " + Normal // Success - Display success Success = Bold + Green + "[+] " + Normal )
Variables ¶
View Source
var ( ErrServerNotInitialized = errors.New("server not initialized - run setup first") ErrSigningProviderNotInitialized = errors.New("signing key provider not initialized - run setup first") ErrStorageProviderNotInitialized = errors.New("storage provider not initialized - run setup first") )
View Source
var ( ErrSigningKeyProviderRefused = errors.New("") // An error to signal that the signing key has already been decrypted ErrPackageSigningKeyDecrypted = errors.New("") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.