Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnectionString ¶
func GetConnectionString() string
GetConnectionString returns a database connection string
Types ¶
type Config ¶
type Config struct { Public string `json:"public"` Domain string `json:"domain"` SessionSecret string `json:"session_secret"` SignupEnabled bool `json:"signup_enabled"` //always set to false in release mode (config.json) Database DatabaseConfig SMTP SMTPConfig }
Config contains application configuration for active gin mode
type DatabaseConfig ¶
DatabaseConfig contains database connection info
Click to show internal directories.
Click to hide internal directories.