utilities

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateColorString

func CreateColorString(str string, clr color.Attribute) string

func PrintStatus

func PrintStatus(service *models.Service, protocol *models.Protocol, err error) (string, error)

PrintStatus prints the result of a CheckService result and returns the same error, if there was, otherwise nil will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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