Documentation ¶
Index ¶
- Constants
- Variables
- func Color(style, color string) termenv.Style
- func ContainsOtherThan(str string, allowed []byte) bool
- func Decrypt(textStr, keyStr string) (res []byte, err error)
- func Encrypt(textStr, keyStr string) (res []byte, err error)
- func GetClipboard(b64 bool) (res string, err error)
- func MD5Hash(text string) string
- func PrettyLimit(in string, max int) string
- func Profile() termenv.Profile
- func ReadPipe() (res string, err error)
- func StyleCache() termenv.Style
- func StyleDebug() termenv.Style
- func StyleInfo() termenv.Style
- func StyleServe() termenv.Style
- func StyleUpdate() termenv.Style
- func StyleWarn() termenv.Style
- func ValidateAnywherePath(anywhere string) bool
- func ValidateAnywherePathRegex(anywhere string) bool
- func ValidateHex(anywhere string) bool
- func WordClient() termenv.Style
- func WordServer() termenv.Style
- func WriteClipboard(txt string, b64 bool) (err error)
Constants ¶
View Source
const ( APMinLength = 3 APMaxLength = 128 )
Variables ¶
View Source
var ( APAllowedChars = []byte("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789:.-_+*!$%~@") HexAllowedChars = []byte("0123456789abcdef") )
View Source
var NotPiped = errors.New("not piped")
Functions ¶
func ContainsOtherThan ¶
func GetClipboard ¶
func PrettyLimit ¶
func StyleCache ¶
func StyleDebug ¶
func StyleServe ¶
func StyleUpdate ¶
func ValidateAnywherePath ¶
func ValidateHex ¶
func WordClient ¶
func WordServer ¶
func WriteClipboard ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.