tr

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(name string) bool

Exists returns true if a collector for the name has been registered.

func Register

func Register(name string, tr DomainTranslator) error

Types

type DomainTranslator

type DomainTranslator interface {
	Translate(domain, metric string) string
}

func Make

func Make(name string) (DomainTranslator, error)

Jump to

Keyboard shortcuts

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