check

package
v0.0.0-...-8f45697 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Color

func Color(str string) string

Color - returns color hash for any string

func IfError

func IfError(err error) bool

IfError prints error, if it is not nil

func InSlice

func InSlice(slice []string, elem string) bool

InSlice - check if element is in slice

func Path

func Path(path string)

Path - create path if not exist

func State

func State(host models.Host) bool

State - returns state of a service

Types

This section is empty.

Jump to

Keyboard shortcuts

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