mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
11 lines
173 B
Go
11 lines
173 B
Go
package metrics
|
|
|
|
// Gauges hold an int64 value that can be set arbitrarily.
|
|
type Gauge interface {
|
|
Snapshot() Gauge
|
|
Update(int64)
|
|
Dec(int64)
|
|
Inc(int64)
|
|
Value() int64
|
|
}
|