Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { App struct { Name string `mapstructure:"name"` Cert string `mapstructure:"cert"` Key string `mapstructure:"key"` } `mapstructure:"app"` Context struct { Timeout int `mapstructure:"timeout"` } `mapstructure:"context"` Jwt struct { AccessSigningKey string `mapstructure:"access_signing_key"` AccessExpiration int `mapstructure:"access_expiration"` RefreshSigningKey string `mapstructure:"refresh_signing_key"` RefreshExpiration int `mapstructure:"refresh_expiration"` } `mapstructure:"jwt"` Postgres struct { Dsn string `mapstructure:"dsn"` } `mapstructure:"postgres"` Kafka struct { Host string `mapstructure:"host"` } `mapstructure:"kafka"` Mongo struct { Dsn string `mapstructure:"dsn"` } `mapstructure:"mongo"` }
Click to show internal directories.
Click to hide internal directories.