command
module
Version:
v0.0.0-...-c97ed5c
Opens a new window with list of versions in this module.
Published: Mar 27, 2018
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Hello
A simple web server with some configuration knobs, for
use in practicing configuration.
The server emits a page that contains its version,
followed by a greeting, followed by the value specified
in request path.
A request path of /quit exits the server.
Configuration Knobs
-
Integer port flag, default 8080.
-
A hard-coded version const set to zero, change it to make
ambiguous differences between binaries.
-
Boolean flag enableRiskyFeature, default false.
If enabled, the greeting is italicized.
-
Environment variable ALT_GREETING.
If set, the value overrides the default greeting Hello.
Instructions to containerize the hello server are
here.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.