Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Env - export environment variables Env = GetConfig() )
Functions ¶
func GetBoolFromEnv ¶
GetBoolFromEnv - parse boolean variables values
Types ¶
type Config ¶
type Config struct { DatabaseHost string DatabasePort string DatabaseName string DatabasePassword string DatabaseUsername string MagacoinPaymentURL string PrivateKey string TargetAccount int DatabaseMaxIdle int DatabaseIdleTimeout int MagacoinPaymentTimeout int DatabaseMaxCon int }
Config - struct of config. variables
Click to show internal directories.
Click to hide internal directories.