package
Version:
v0.0.0-...-183713d
Opens a new window with list of versions in this module.
Published: Nov 4, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Database Database `mapstructure:"db"`
JWT JWT `mapstructure:"jwt"`
}
type Database struct {
Host string `mapstructure:"host"`
Port string `mapstructure:"port"`
User string `mapstructure:"user"`
DBName string `mapstructure:"dbname"`
Password string `mapstructure:"password"`
SSLmode string `mapstructure:"sslmode"`
}
type JWT struct {
Secret string `mapstructure:"secret"`
Expiration int `mapstructure:"exp"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.