View definition

(*PrefixedRegistry).GetOrRegister

Defined in github.com/rcrowley/go-metrics/registry.go

Description

Gets an existing metric or registers the given one. The interface can be the metric to register if not found in registry, or a function returning the metric for lazy instantiation.

GetOrRegister is referenced in 0 repositories