Versions in this module Expand all Collapse all v0 v0.2.0 Mar 9, 2023 v0.1.0 Jan 9, 2023 Changes in this version + const StageDev + const StageProd + const StageStaging + const StageTest + type Config struct + App interface{} + HTTP HTTPConfig + Name string + SecretKey string + Stage string + Version string + var G *Config + func (c *Config) IsDevelopment() bool + func (c *Config) UnmarshalApp(outPtr interface{}) error + type HTTPConfig struct + CookieMaxAge int + Listen string + ReadHeaderTimeoutMS uint32 + ReadTimeoutMS uint32 + WriteTimeoutMS uint32 + func (hc *HTTPConfig) ListenAddr() string + func (hc *HTTPConfig) Timeouts() (time.Duration, time.Duration, time.Duration) + type Option struct + Reader io.ReadCloser