package
Version:
v0.0.0-...-d66a43f
Opens a new window with list of versions in this module.
Published: Mar 9, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Auth struct {
AccessToken string `mapstructure:"AccessToken"`
RefreshToken string `mapstructure:"RefreshToken"`
}
type Config struct {
Port string `mapstructure:"Port"`
PostgresDB Posgres `mapstructure:"PostgresDB"`
Redis Redis `mapstructure:"RedisDB"`
RedisJWT Redis `mapstructure:"RedisJWT"`
Auth Auth `mapstructure:"Auth"`
}
type Posgres struct {
Host string `mapstructure:"Host"`
Port string `mapstructure:"Port"`
DBName string `mapstructure:"DBName"`
User string `mapstructure:"User"`
Password string `mapstructure:"Password"`
}
type Redis struct {
Host string `mapstructure:"Host"`
Port string `mapstructure:"Port"`
Password string `mapstructure:"Password"`
DBName int `mapstructure:"DBName"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.