Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Database *db.MySQLInfo `json:"database"` Server *server.Server `json:"server"` View *view.View `json:"view"` Session *session.Session `json:"session"` Email *email.SMTPInfo `json:"email"` Template *view.Template `json:"template"` TemplateAdmin *view.Template `json:"template_admin"` }
Configuration struct
func Load ¶
func Load(configFile string) (*Configuration, error)
Load a JSON file making a Configuration pointer
Click to show internal directories.
Click to hide internal directories.