Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstSetup ¶
func FirstSetup(configLocation string)
FirstSetup displays a webpage where the user is given a brief introduction to gogios and configures starting values and the first admin user
Types ¶
type Setup ¶
type Setup struct {
AdminName string
AdminUsername string
AdminPassword string
Interval string
CheckTimeout string
WebConfig webOptions
DatabasePreference string
Sqlite sqlite
Mysql mysql
Errors map[string]string
}
Setup has values that the user enters in the form read into it, which then gets used to do first setup
func (*Setup) CheckValid ¶
CheckValid that the data entered into the setup form is valid
Click to show internal directories.
Click to hide internal directories.