Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 601 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 601 Bytes

Sample errata application

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.

Definitions

See the errata.hcl file for all possible errors in this application.

Generated Code

See the errata/errors.go file for the code generated by eish.