Documentation ¶
Index ¶
- Variables
- func CompressionText(enum int) string
- func CompressionTypeFromString(s string) (uint16, error)
- func EncryptionText(enum int) string
- func EncryptionTypeFromString(s string) (uint16, error)
- func LogLevelFromString(s string) (knoxite.LogLevel, error)
- func PathToUrl(u string) (*url.URL, error)
- func ReadPassword(prompt string) (string, error)
- func ReadPasswordTwice(prompt, promptConfirm string) (string, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CompressionText ¶
CompressionText returns a user-friendly string indicating the compression algo that was used returns "unknown" when none is found.
func CompressionTypeFromString ¶
CompressionTypeFromString returns the compression type from a user-specified string.
func EncryptionText ¶
EncryptionText returns a user-friendly string indicating the encryption algo that was used.
func EncryptionTypeFromString ¶
EncryptionTypeFromString returns the encryption type from a user-specified string.
func LogLevelFromString ¶
LogLevelFromString returns the log level from a user-specified string. returns log level print as default.
func ReadPassword ¶
func ReadPasswordTwice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.