Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServiceName string `mapstructure:"serviceName"` App App `mapstructure:"app"` Logger *logger.Config `mapstructure:"logger"` HTTP HTTP `mapstructure:"http"` Auth auth.Auth `mapstructure:"auth"` }
func InitConfig ¶
type HTTP ¶
type HTTP struct { Addr string `mapstructure:"addr"` Development bool `mapstructure:"development"` BasePath string `mapstructure:"basePath"` DebugHeaders bool `mapstructure:"debugHeaders"` HTTPClientDebug bool `mapstructure:"httpClientDebug"` DebugErrorsResponse bool `mapstructure:"debugErrorsResponse"` }
Click to show internal directories.
Click to hide internal directories.