Directories
¶
| Path | Synopsis |
|---|---|
|
Package chttp is the HTTP client every katbyte tool talks to APIs with: a stalled server fails fast, a passing failure is tried again without ever re-sending a write whose fate is unknown, and every exchange is traced to whatever logger it is handed, with credentials blanked.
|
Package chttp is the HTTP client every katbyte tool talks to APIs with: a stalled server fails fast, a passing failure is tried again without ever re-sending a write whose fate is unknown, and every exchange is traced to whatever logger it is handed, with credentials blanked. |
|
Package clog is the one logger every katbyte tool logs through: stderr, since stdout is the tool's real output, with timestamps, at WARN unless the tool's own variable (TCTEST_LOG, KOI_LOG) raises it.
|
Package clog is the one logger every katbyte tool logs through: stderr, since stdout is the tool's real output, with timestamps, at WARN unless the tool's own variable (TCTEST_LOG, KOI_LOG) raises it. |
|
Package cout prints for the person running a tool, as clog logs for whoever diagnoses it.
|
Package cout prints for the person running a tool, as clog logs for whoever diagnoses it. |
|
internal
|
|
|
addresses
Package addresses blanks what an address in text may carry a credential in: the one rule behind outside.BlankAddresses and the registry's write line, kept here so the registry can also be told what was blanked.
|
Package addresses blanks what an address in text may carry a credential in: the one rule behind outside.BlankAddresses and the registry's write line, kept here so the registry can also be told what was blanked. |
|
Package lock makes callers in one process take turns at a record, so one does not undo another's change.
|
Package lock makes callers in one process take turns at a record, so one does not undo another's change. |
|
mcp
|
|
|
acctest
Package acctest drives an MCP server the way a client does, for a suite against a live one: calls counted for coverage, readers for the answers, waits on background work, put-backs for what a test changed, and a watch on everything the tools say for a key the suite gave the server.
|
Package acctest drives an MCP server the way a client does, for a suite against a live one: calls counted for coverage, readers for the answers, waits on background work, put-backs for what a test changed, and a watch on everything the tools say for a key the suite gave the server. |
|
registry
Package registry decides which of an MCP server's tools a session gets, what each tells a client about itself, and what stands around every call.
|
Package registry decides which of an MCP server's tools a session gets, what each tells a client about itself, and what stands around every call. |
|
server
Package server runs an MCP server over stdio for a client that starts it, or over HTTP for an always-on one, behind a bearer token and with a health probe.
|
Package server runs an MCP server over stdio for a client that starts it, or over HTTP for an always-on one, behind a bearer token and with a health probe. |
|
Package outside makes text from outside safe to hand to a model: a release's name, a file's, anything fetched from a service anyone can write to.
|
Package outside makes text from outside safe to hand to a model: a release's name, a file's, anything fetched from a service anyone can write to. |
|
Package parallel runs a batch of jobs a few at a time, as many as a server answers at once.
|
Package parallel runs a batch of jobs a few at a time, as many as a server answers at once. |
|
Package pointer reads and makes the optional fields API models type as *T, where a statement is awkward: inside a literal, an argument or a return.
|
Package pointer reads and makes the optional fields API models type as *T, where a statement is awkward: inside a literal, an argument or a return. |
|
Package spelling finds one name spelled two ways, as genres, tags and studios arrive typed by hand: "Sci-Fi" and "sci fi", "Amélie" and "Amelie", "Noir" and "Nior".
|
Package spelling finds one name spelled two ways, as genres, tags and studios arrive typed by hand: "Sci-Fi" and "sci fi", "Amélie" and "Amelie", "Noir" and "Nior". |
|
test
|
|
|
env
Package env is what a suite against a live server in a container is handed: the variables its test script exports, the replay proxy the server's internet calls go through, a check the container can reach it, the report on what the proxy saw, and files laid out where the container reads them.
|
Package env is what a suite against a live server in a container is handed: the variables its test script exports, the replay proxy the server's internet calls go through, a check the container can reach it, the report on what the proxy saw, and files laid out where the container reads them. |
|
replayproxy
Package replayproxy records and replays what a server under test fetches from the internet: metadata providers, a podcast feed, an artwork CDN.
|
Package replayproxy records and replays what a server under test fetches from the internet: metadata providers, a podcast feed, an artwork CDN. |
|
services/arrserver
Package arrserver is the servers a Prowlarr, Sonarr or Radarr calls home to, for a live suite to answer itself: the update server, the clock, and the notices.
|
Package arrserver is the servers a Prowlarr, Sonarr or Radarr calls home to, for a live suite to answer itself: the update server, the clock, and the notices. |
|
services/newznab
Package newznab is a Newznab and Torznab indexer for a live suite to run beside the server under test: one listener, any number of indexers at /<name>/api, each usenet or torrent, each healthy or broken as the test says.
|
Package newznab is a Newznab and Torznab indexer for a live suite to run beside the server under test: one listener, any number of indexers at /<name>/api, each usenet or torrent, each healthy or broken as the test says. |
|
services/sabnzbd
Package sabnzbd is a SABnzbd for a live suite to run beside the server under test: a download client that downloads nothing, whose jobs the test moves along itself, written for Sonarr, whose reading of each answer the comments name.
|
Package sabnzbd is a SABnzbd for a live suite to run beside the server under test: a download client that downloads nothing, whose jobs the test moves along itself, written for Sonarr, whose reading of each answer the comments name. |
|
Package version is the version of the tool that imports it: stamped at release, else the module version from a go install, else "dev".
|
Package version is the version of the tool that imports it: stamped at release, else the module version from a go install, else "dev". |
|
Package whitespace finds the spaces out of place in a name: doubled, at an end, odd, or before a colon or a file extension.
|
Package whitespace finds the spaces out of place in a name: doubled, at an end, odd, or before a colon or a file extension. |
Click to show internal directories.
Click to hide internal directories.