example

command
v0.0.0-...-3648a36 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 5 Imported by: 0

README

application example

This is simple application server example

  • Listen one port app endpoint
  • Optinal another monitoring endpoint

parameter configuration method

main.Message is configurable paremeter

Order

  1. Commandline argument -message by flag.Parse() in vermouth.Parse()
  2. Environment variable MESSAGE= by vermouth.Parse
  3. Compile time embed value -ldflags "-X main.Message=" in Makefile
  4. Hardcoded value in source

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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