Skip to content

Latest commit

 

History

History

sample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.