Documentation
¶
Overview ¶
Package config for configuration management
Index ¶
Constants ¶
View Source
const ( ConfigPath string = "config.yml" // Path to configuration file DefaultLimit int = 100 // Default maximum number of flags to retrieve in the view DefaultOffset int = 0 // Default offset for pagination )
Variables ¶
View Source
var ( Debug bool // Global debug flag ConfigFile bool // Use configuration file instead of web config Password string // Password for authentication ServerPort string // Port for server Secret = make([]byte, 32) // JWT secret key Submit func(string, string, []string) ([]protocols.ResponseProtocol, error) // Function to submit data Cache = true // Cache static file like css/js/image (If cache is enable more ram is used [default:true]) )
Functions ¶
func GetEnvAsInt ¶
func GetExecutableDir ¶
func GetExecutableDir() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.