validator

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StatusCodeIsNotNumericError = errors.New("metricsservice.Metrics{}.IncStatus(path string, method string, " +
		"-> status string) an HTTP status code accepts only codes which represents as numeric string")
	StatusCodeIsOutOfRangeError = errors.New("metricsservice.Metrics{}.IncStatus(path string, method string, " +
		"-> status string) an HTTP status code accepts only codes in range from 100 to 599")
)

Functions

func ValidateStrStatusCode

func ValidateStrStatusCode(status string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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