modules

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModBootlog       = "bootlog"
	ModBotnet        = "botnet"
	ModCargo         = "cargo"
	ModCc            = "cc"
	ModComposer      = "composer"
	ModCryptomining  = "cryptomining"
	ModDocker        = "docker"
	ModDownload      = "download"
	ModGomod         = "gomod"
	ModKernelCompile = "kernel_compile"
	ModMemdump       = "memdump"
	ModWeblog        = "weblog"
)

Variables

Functions

func BlackString

func BlackString(format string, a ...interface{}) string

func BlueString

func BlueString(format string, a ...interface{}) string

func BoldString

func BoldString(format string, a ...interface{}) string

func BusyCPUWorking added in v0.2.0

func BusyCPUWorking(ctx context.Context)

func CyanBoldString

func CyanBoldString(format string, a ...interface{}) string

func CyanString

func CyanString(format string, a ...interface{}) string

func GenBool

func GenBool(p float64) bool

func GenHTTPCode

func GenHTTPCode() int

func GenHTTPPath

func GenHTTPPath(files, exts []string) string

func GenHashHex

func GenHashHex(n int) string

func GenIncludes

func GenIncludes(lst []string, cnt int) string

func GenIntN

func GenIntN(min, max int) int

func GenKernelCompileLine

func GenKernelCompileLine(arch string) string

func GenLinkerFlags

func GenLinkerFlags(lst []string, cnt int) string

func GenPackageTag

func GenPackageTag() string

func GenPackageVersion

func GenPackageVersion() string

func GenRandStringFromList

func GenRandStringFromList(lst []string, cnt int) string

func GenRandomIndex

func GenRandomIndex(min, max, length int) []int

func GreenBoldString

func GreenBoldString(format string, a ...interface{}) string

func GreenString

func GreenString(format string, a ...interface{}) string

func MagentaString

func MagentaString(format string, a ...interface{}) string

func PrintGreen

func PrintGreen(format string, a ...interface{})

func PrintGreenWithBold

func PrintGreenWithBold(a string, others ...interface{})

func PrintNewline

func PrintNewline()

func PrintWithDelay

func PrintWithDelay(s string, d int)

func PrintYellow

func PrintYellow(format string, a ...interface{})

func PrintlnWithDelay

func PrintlnWithDelay(s string, d int)

func RedString

func RedString(format string, a ...interface{}) string

func SleepInMills

func SleepInMills(min, max int)

func YellowBoldString

func YellowBoldString(format string, a ...interface{}) string

Types

type Moduler

type Moduler interface {
	Name() string
	Display(bool)
}

func NewBootlogModule

func NewBootlogModule() Moduler

func NewBotnetModule

func NewBotnetModule() Moduler

func NewCargoModule

func NewCargoModule() Moduler

func NewCcModule

func NewCcModule() Moduler

func NewComposerModule

func NewComposerModule() Moduler

func NewCryptominingModule

func NewCryptominingModule() Moduler

func NewDockerModule

func NewDockerModule() Moduler

func NewDownloadModule

func NewDownloadModule() Moduler

func NewGomodModule

func NewGomodModule() Moduler

func NewKernelCompileModule

func NewKernelCompileModule() Moduler

func NewMemdumpModule

func NewMemdumpModule() Moduler

func NewWeblogModule

func NewWeblogModule() Moduler

Jump to

Keyboard shortcuts

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