Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct { Version string Web struct { ReadTimeout time.Duration `default:"5s"` WriteTimeout time.Duration `default:"10s"` IdleTimeout time.Duration `default:"120s"` ShutdownTimeout time.Duration `default:"20s"` APIHost string `default:"0.0.0.0:8000" envconfig:"API_HOST"` DebugHost string `default:"0.0.0.0:4000"` } Db struct { ConnectionURI string `envconfig:"DB_CONNECTION_URI" required:"true"` } }
Click to show internal directories.
Click to hide internal directories.