Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppName = "jsch" EnvProd = "production" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type Config ¶
type Config struct { Env string `required:"true"` Mongo MongoConfig HTTP HTTPConfig Auth AuthConfig }
type HTTPConfig ¶
type HTTPConfig struct { Host string `envconfig:"http_host"` Port string `ignored:"true" default:"8085"` ReadTimeout time.Duration `envconfig:"http_read_timeout" default:"10s"` WriteTimeout time.Duration `envconfig:"http_write_timeout" default:"10s"` MaxHeaderMegabytes int `envconfig:"http_max_header_megabytes" default:"1"` }
Click to show internal directories.
Click to hide internal directories.