Documentation ¶
Overview ¶
Package stub provides interfaces and stub implementations.
Packages in mox use these interfaces and implementations so other software reusing these packages won't have to take on unwanted dependencies.
Stubs are provided for: metrics (prometheus).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CounterIgnore ¶
type CounterIgnore struct{}
func (CounterIgnore) Inc ¶
func (CounterIgnore) Inc()
type CounterVec ¶
type CounterVec interface {
IncLabels(labels ...string)
}
type CounterVecIgnore ¶
type CounterVecIgnore struct{}
func (CounterVecIgnore) IncLabels ¶
func (CounterVecIgnore) IncLabels(labels ...string)
type HistogramIgnore ¶
type HistogramIgnore struct{}
func (HistogramIgnore) Observe ¶
func (HistogramIgnore) Observe(float64)
type HistogramVec ¶
type HistogramVecIgnore ¶
type HistogramVecIgnore struct{}
func (HistogramVecIgnore) ObserveLabels ¶
func (HistogramVecIgnore) ObserveLabels(v float64, labels ...string)
Click to show internal directories.
Click to hide internal directories.