package
Version:
v0.0.0-...-ad6e858
Opens a new window with list of versions in this module.
Published: May 6, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Mode string `hcl:"Mode"`
Port string `hcl:"Port"`
DB DBConfig `hcl:"DB,block"`
}
the base of the struct that the data goes into
a global variable to be able to access anywhere
type DBConfig struct {
Host string `hcl:"Host"`
Port string `hcl:"Port"`
User string `hcl:"User"`
Password string `hcl:"Password"`
DBName string `hcl:"DBName"`
SSLMode string `hcl:"SSLMode"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.