package
Version:
v0.0.0-...-3399a5c
Opens a new window with list of versions in this module.
Published: Dec 24, 2020
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
¶
func GetConnectionString() string
GetConnectionString get db connection string
GetSecret get secret key for auth
func GetUserPasswordDB() string
GetUserPasswordDB user password for login
type Config struct {
Secret string `json:"secret"`
ConnectionString string `json:"connection_string"`
UserPasswordDB string `json:"user_password_db"`
DBName string `json:"dbname"`
Port string `json:"port"`
}
Config struct for config.json
func LoadConfiguration() Config
LoadConfiguration load from config.json
Source Files
¶
Click to show internal directories.
Click to hide internal directories.