Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { // TODO: consul auth ExceptionService string `default:"ExceptionService" split_words:"true"` ExternalServiceAddr string `split_words:"true"` ConsulAddr string `default:"127.0.0.1:8500" split_words:"true"` ListenAddr string `default:":8000" split_words:"true"` ServiceID string `required:"true" split_words:"true"` }
AppConfig is ENV based config, prefix MYAPP_. See github.com/kelseyhightower/envconfig for details.
Click to show internal directories.
Click to hide internal directories.