VictoriaMetrics/vendor/github.com/alecthomas/units
Dmytro Kozlov 05cf8a6ecc
vmctl: support of the remote read protocol (#3232)
vmctl: support of the remote read protocol

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2022-11-29 22:53:28 +01:00
..
bytes.go vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
COPYING vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
doc.go vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
README.md vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
si.go vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
util.go vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00

Go Reference

Units - Helpful unit multipliers and functions for Go

The goal of this package is to have functionality similar to the time package.

It allows for code like this:

n, err := ParseBase2Bytes("1KB")
// n == 1024
n = units.Mebibyte * 512