lib

package
v0.0.0-...-58f9084 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var COLOR_BLUE = "\x1b[34m"
View Source
var COLOR_BOLD = "\x1b[1m"
View Source
var COLOR_CYAN = "\x1b[36m"
View Source
var COLOR_GREEN = "\x1b[32m"
View Source
var COLOR_RED = "\x1b[31m"
View Source
var COLOR_RESET = "\x1b[0m"
View Source
var MAJOR = 3
View Source
var MINOR = 2

Functions

func Decrypt

func Decrypt(key, enc string) (string, error)

func Encrypt

func Encrypt(key, plain string) (string, error)

func Error

func Error(s string, args ...interface{})

func ErrorMsg

func ErrorMsg(s string, e error)

func GetMD5

func GetMD5(str string) string

func GetSHA256

func GetSHA256(str string) string

func GetVersion

func GetVersion() string

func Info

func Info(s string, args ...interface{})

func InfoVar

func InfoVar(k string, v string)

func Input

func Input(s string, args ...interface{}) string

func JoinURL

func JoinURL(src, path string) string

func MkRandom

func MkRandom(size int) string

func Mkdirp

func Mkdirp(path string) error

func Passwd

func Passwd(s string, args ...interface{}) string

func Success

func Success(s string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL