//
pkg.gl
Category
github.com/chutified/smart-passwd
config
package
1.0.0
Repository:
https://github.com/chutified/smart-passwd.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
5
Files
43 SLOC
#
Functions
GetConfig
GetConfig tries to load and handle the configuration file.
#
Variables
ErrFileNotFound
ErrFileNotFound is returned if the file was not found.
ErrInvalidYamlFile
ErrInvalidYamlFile is return when the file does not satisfy the yaml file type.
#
Structs
Config
Config defines a configuration for the web API.
DBConfig
DBConfig holds database connection's credentials.