mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +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
|
|
}
|