nightingale1/vendor/github.com/alecthomas/units
lynxcat 2d4e6bb8da
prober nginx 采集插件 ()
* add a method to get the Endpoint

* 增加nginx插件,修改control。支持./control build prober job这种多个参数

* 修改提示

Co-authored-by: lynxcat <lynxcatdeng@gmail.com>
2021-01-28 17:23:46 +08:00
..
COPYING prober nginx 采集插件 () 2021-01-28 17:23:46 +08:00
README.md prober nginx 采集插件 () 2021-01-28 17:23:46 +08:00
bytes.go prober nginx 采集插件 () 2021-01-28 17:23:46 +08:00
doc.go prober nginx 采集插件 () 2021-01-28 17:23:46 +08:00
go.mod prober nginx 采集插件 () 2021-01-28 17:23:46 +08:00
go.sum prober nginx 采集插件 () 2021-01-28 17:23:46 +08:00
si.go prober nginx 采集插件 () 2021-01-28 17:23:46 +08:00
util.go prober nginx 采集插件 () 2021-01-28 17:23:46 +08:00

README.md

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