hdx/vendor/github.com/kelseyhightower/envconfig/testdata/default_table.txt
Derek McQuay 59af8fc84f
initial commit
Signed-off-by: Derek McQuay <derekmcquay@gmail.com>
2018-04-10 19:17:26 -07:00

35 lines
4.0 KiB
Plaintext

This.application.is.configured.via.the.environment..The.following.environment
variables.can.be.used:
KEY..............................................TYPE............................................DEFAULT...........REQUIRED....DESCRIPTION
ENV_CONFIG_ENABLED...............................True.or.False.................................................................some.embedded.value
ENV_CONFIG_EMBEDDEDPORT..........................Integer.......................................................................
ENV_CONFIG_MULTIWORDVAR..........................String........................................................................
ENV_CONFIG_MULTI_WITH_DIFFERENT_ALT..............String........................................................................
ENV_CONFIG_EMBEDDED_WITH_ALT.....................String........................................................................
ENV_CONFIG_DEBUG.................................True.or.False.................................................................
ENV_CONFIG_PORT..................................Integer.......................................................................
ENV_CONFIG_RATE..................................Float.........................................................................
ENV_CONFIG_USER..................................String........................................................................
ENV_CONFIG_TTL...................................Unsigned.Integer..............................................................
ENV_CONFIG_TIMEOUT...............................Duration......................................................................
ENV_CONFIG_ADMINUSERS............................Comma-separated.list.of.String................................................
ENV_CONFIG_MAGICNUMBERS..........................Comma-separated.list.of.Integer...............................................
ENV_CONFIG_COLORCODES............................Comma-separated.list.of.String:Integer.pairs..................................
ENV_CONFIG_MULTIWORDVAR..........................String........................................................................
ENV_CONFIG_MULTI_WORD_VAR_WITH_AUTO_SPLIT........Unsigned.Integer..............................................................
ENV_CONFIG_SOMEPOINTER...........................String........................................................................
ENV_CONFIG_SOMEPOINTERWITHDEFAULT................String..........................................foo2baz.......................foorbar.is.the.word
ENV_CONFIG_MULTI_WORD_VAR_WITH_ALT...............String........................................................................what.alt
ENV_CONFIG_MULTI_WORD_VAR_WITH_LOWER_CASE_ALT....String........................................................................
ENV_CONFIG_SERVICE_HOST..........................String........................................................................
ENV_CONFIG_DEFAULTVAR............................String..........................................foobar........................
ENV_CONFIG_REQUIREDVAR...........................String............................................................true........
ENV_CONFIG_BROKER................................String..........................................127.0.0.1.....................
ENV_CONFIG_REQUIREDDEFAULT.......................String..........................................foo2bar...........true........
ENV_CONFIG_OUTER_INNER...........................String........................................................................
ENV_CONFIG_OUTER_PROPERTYWITHDEFAULT.............String..........................................fuzzybydefault................
ENV_CONFIG_AFTERNESTED...........................String........................................................................
ENV_CONFIG_HONOR.................................HonorDecodeInStruct...........................................................
ENV_CONFIG_DATETIME..............................Time..........................................................................