sample

command module
v0.0.0-...-5b42417 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package errata is auto-generated by errata Errata Schema Version: 0.1 Hash: c87437d6283730b71c43970b77d9e41e
Package errata is auto-generated by errata Errata Schema Version: 0.1 Hash: c87437d6283730b71c43970b77d9e41e

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL