Directories
¶
| Path | Synopsis |
|---|---|
|
Package api talks to Quantic's /api/v1 (design §2).
|
Package api talks to Quantic's /api/v1 (design §2). |
|
Package auth finds, stores and forgets the API token (design §4).
|
Package auth finds, stores and forgets the API token (design §4). |
|
authtest
Package authtest has keyrings for tests, so that no test ever reaches the keyring of the machine it runs on.
|
Package authtest has keyrings for tests, so that no test ever reaches the keyring of the machine it runs on. |
|
Package cache keeps Quantic's answers on disk (design §7): a fresh answer is used without asking again, a stale one is revalidated with its ETag, and when Quantic can't be reached, the last answer is used, marked stale.
|
Package cache keeps Quantic's answers on disk (design §7): a fresh answer is used without asking again, a stale one is revalidated with its ETag, and when Quantic can't be reached, the last answer is used, marked stale. |
|
Package cli is the command tree: Cobra commands, global flags, and how an error becomes an exit code (design §3, §6).
|
Package cli is the command tree: Cobra commands, global flags, and how an error becomes an exit code (design §3, §6). |
|
Package privfile writes files only their owner can read: the token file (internal/auth) and the cache (internal/cache), which holds portfolio data.
|
Package privfile writes files only their owner can read: the token file (internal/auth) and the cache (internal/cache), which holds portfolio data. |
|
Package render writes what commands produce: JSON for programs (design §5), and, from milestone 2, tables for people.
|
Package render writes what commands produce: JSON for programs (design §5), and, from milestone 2, tables for people. |
Click to show internal directories.
Click to hide internal directories.