bandwidth

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL