Documentation
¶
Overview ¶
Program bandwidth is a read-only validation of the bandwidth package's four read endpoints, with particular attention to the two decode-bug shapes that motivate the package's custom UnmarshalJSON methods and Number type.
Walks all four endpoints and prints a one-line summary of each. Designed to be run against any account — including empty / fresh ones — and exit zero. Pre-fix, the response decoders failed on empty accounts (return: []) and on any quota row with zero usage (used_units returned as JSON number rather than string).
Required env: SH_API_KEY, SH_CLIENT_ID.
Click to show internal directories.
Click to hide internal directories.