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 delay shares delay evaluation and mock-file representation across protocols and faults.
|
Package delay shares delay evaluation and mock-file representation across protocols and faults. |
|
Package httpx holds the small HTTP helpers vlatte's packages share: the mock servers, the webhook package, the recipes and the vlatte command.
|
Package httpx holds the small HTTP helpers vlatte's packages share: the mock servers, the webhook package, the recipes and the vlatte command. |
|
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 mockfile reads mock documents and preserves their source while splitting YAML streams.
|
Package mockfile reads mock documents and preserves their source while splitting YAML streams. |
|
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 openapi writes mock files from an OpenAPI description.
|
Package openapi writes mock files from an OpenAPI description. |
|
pathtemplate
Package pathtemplate reads the paths of an OpenAPI document, whose segments may hold parameters, such as {id}.
|
Package pathtemplate reads the paths of an OpenAPI document, whose segments may hold parameters, such as {id}. |
|
Package openapiv3 reads OpenAPI 3.0, 3.1 and 3.2 documents into an openapi.Document, with kin-openapi.
|
Package openapiv3 reads OpenAPI 3.0, 3.1 and 3.2 documents into an openapi.Document, with kin-openapi. |
|
Package slug turns text, such as the name of a mock, into a part of a file name that every system accepts.
|
Package slug turns text, such as the name of a mock, into a part of a file name that every system accepts. |
|
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.