Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoHttpOptions ¶
type EchoHttpOptions struct { Port string `mapstructure:"port" validate:"required" env:"TcpPort"` Development bool `mapstructure:"development" env:"Development"` BasePath string `mapstructure:"basePath" validate:"required" env:"BasePath"` DebugErrorsResponse bool `mapstructure:"debugErrorsResponse" env:"DebugErrorsResponse"` IgnoreLogUrls []string `mapstructure:"ignoreLogUrls"` Timeout int `mapstructure:"timeout" env:"Timeout"` Host string `mapstructure:"host" env:"Host"` Name string `mapstructure:"name" env:"Name"` }
func ProvideConfig ¶
func ProvideConfig(environment environemnt.Environment) (*EchoHttpOptions, error)
func (*EchoHttpOptions) Address ¶
func (c *EchoHttpOptions) Address() string
func (*EchoHttpOptions) BasePathAddress ¶
func (c *EchoHttpOptions) BasePathAddress() string
Click to show internal directories.
Click to hide internal directories.