This basic application provides an HTTP API to execute a command on the host system (very secure!).
The logic is defined here, and here is the HTTP interface. You can view the tests to see how the application behaves, or run it yourself with go run main.go
which will start an HTTP server on port 8080
.
See the errata.hcl file for all possible errors in this application.
See the errata/errors.go file for the code generated by eish
.