command
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Nov 7, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
jsonnetd
This is an HTTP server that loads a directory of Jsonnet files and
serves each one as a webhook.
Each hook should evaluate to a Jsonnet function:
function(request) {
// response body
}
The body of the POST request is itself interpreted as Jsonnet
and given to the hook as a top-level request
argument.
The entire result of evaluating the Jsonnet function is returned as
the webhook response body, unless the function returns an error.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.