Directories
¶
| Path | Synopsis |
|---|---|
|
Package admin serves the admin API of a mock server: a RESTful HTTP server of its own, on its own address, the same for mock servers of every protocol.
|
Package admin serves the admin API of a mock server: a RESTful HTTP server of its own, on its own address, the same for mock servers of every protocol. |
|
handler
Package handler holds the admin operations of a mock server, and the units of the admin API that serve them over HTTP.
|
Package handler holds the admin operations of a mock server, and the units of the admin API that serve them over HTTP. |
|
Package adminapi is what a mock server and its admin API share: what the server gives the admin API, its Capabilities, and the API that serves them.
|
Package adminapi is what a mock server and its admin API share: what the server gives the admin API, its Capabilities, and the API that serves them. |
|
Package atomicfile writes files that readers find whole, or not at all.
|
Package atomicfile writes files that readers find whole, or not at all. |
|
Package bodyfile opens the files bodies are read from, such as a reply's body_file.
|
Package bodyfile opens the files bodies are read from, such as a reply's body_file. |
|
Package buildinfo reports which vlatte a program was built with.
|
Package buildinfo reports which vlatte a program was built with. |
|
Package config loads settings from files, environment variables and command-line arguments into a configuration struct, following a schema that names, types and documents every setting.
|
Package config loads settings from files, environment variables and command-line arguments into a configuration struct, following a schema that names, types and documents every setting. |
|
Package httpx holds the small HTTP helpers the mock servers and the webhook package share.
|
Package httpx holds the small HTTP helpers the mock servers and the webhook package share. |
|
Package jose signs and verifies JSON Web Signatures (RFC 7515) in compact form, and converts public keys to and from JSON Web Keys (RFC 7517), for the asymmetric algorithms of RFC 7518 and RFC 8037.
|
Package jose signs and verifies JSON Web Signatures (RFC 7515) in compact form, and converts public keys to and from JSON Web Keys (RFC 7517), for the asymmetric algorithms of RFC 7518 and RFC 8037. |
|
Package kvtest checks that a key-value store keeps the contract of github.com/caffeine-projects/vlatte.KV.
|
Package kvtest checks that a key-value store keeps the contract of github.com/caffeine-projects/vlatte.KV. |
|
Package kvview gives templates the key-value store of a mock server, as text.
|
Package kvview gives templates the key-value store of a mock server, as text. |
|
Package mockid checks the IDs of mocks, which name them in admin API paths, such as /mocks/{id}.
|
Package mockid checks the IDs of mocks, which name them in admin API paths, such as /mocks/{id}. |
|
Package mpart writes multipart bodies, for replies and webhooks, with mime/multipart.Writer: their model, the checks of the model, and the tables that decode it from mock files.
|
Package mpart writes multipart bodies, for replies and webhooks, with mime/multipart.Writer: their model, the checks of the model, and the tables that decode it from mock files. |
|
Package sse writes Server-Sent Events, the text/event-stream bodies of the WHATWG HTML standard, for replies: their model, the checks of the model, and the stream that sends them one by one, with their delays.
|
Package sse writes Server-Sent Events, the text/event-stream bodies of the WHATWG HTML standard, for replies: their model, the checks of the model, and the stream that sends them one by one, with their delays. |
|
Package tmplfunc holds the functions of vlatte's Go template engine.
|
Package tmplfunc holds the functions of vlatte's Go template engine. |
|
Package value is the data model that documents, settings and matchers share: how JSON is read, how text reads as a bool or a number, and how values compare.
|
Package value is the data model that documents, settings and matchers share: how JSON is read, how text reads as a bool or a number, and how values compare. |
|
Package xmldoc reads XML documents into trees that keep them as written, and navigates them for XPath.
|
Package xmldoc reads XML documents into trees that keep them as written, and navigates them for XPath. |
Click to show internal directories.
Click to hide internal directories.