Commit Graph

2 Commits

Author SHA1 Message Date
James O'Gorman
89bacd6ee3 Set User-Agent header
It's nice to third parties if you set User-Agent so the caller can be
identified. By default Go will set a User-Agent header to a string like
"Go-http-client/1.1".

The library now sets it to a string that identifies the source of the
program (github.com/jamesog/aaisp-chaos) and the compiled Go OS, arch
and version, to aid any potential debugging:

    chaos-go (darwin; amd64; go1.15.5) github.com/jamesog/aaisp-chaos
2020-11-28 15:56:16 +00:00
James O'Gorman
732a45e26a Initial commit
This adds a rudimentary `chaos` package for querying broadband info, and
a Prometheus exporter.
2019-10-13 17:37:31 +01:00