utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ModuleName = "DB-UTILS"
)

Functions

func FilterClientType

func FilterClientType(userAgent string) (string, string)

Gets the client and version for a given userAgent. TODO: Perhaps use some regex

func FilterError

func FilterError(err string) string

Funtion that formats the error into a Pretty understandable (standard) way. Also important to cohesionate the extra-metrics output csv.

Types

This section is empty.

Jump to

Keyboard shortcuts

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