utils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidURL = errors.New("invalid URL. It won't be parsed. Check that your url contains scheme")

ErrInvalidURL is returned when URL is invalid.

Functions

func StatusToMetricValue

func StatusToMetricValue(status string) float64

StatusToMetricValue converts statuspage status to metric value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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