Files
zeekay 9e5264f1e2 feat: add Lux extensions for coreth compatibility
- Add PrecompileEnvironment interface for stateful precompiles
- Expand stateconf package with StateDBStateOption configuration
- Fix badgerdb iterator first-item handling
- Add Reader type alias in triedb/database for coreth
- Add NilXxx types in metrics for prometheus gatherer
2025-12-13 00:43:20 +00:00

21 lines
568 B
Go

// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package metrics
// Nil types are empty structs used to detect disabled/nil metrics
// in type switches (used by prometheus gatherer)
type NilCounter struct{}
type NilCounterFloat64 struct{}
type NilEWMA struct{}
type NilGauge struct{}
type NilGaugeFloat64 struct{}
type NilGaugeInfo struct{}
type NilHealthcheck struct{}
type NilHistogram struct{}
type NilMeter struct{}
type NilResettingTimer struct{}
type NilSample struct{}
type NilTimer struct{}