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"` Port int `mapstructure:"port"` } `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"` Dsn string `mapstructure:"dsn"` Redis struct { Host string `mapstructure:"host"` Port int `mapstructure:"port"` Password string `mapstructure:"password"` DB int `mapstructure:"db"` PoolSize int `mapstructure:"pool_size"` } `mapstructure:"redis"` }
Click to show internal directories.
Click to hide internal directories.