Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_SERVER_PORT = "8080" DEFAULT_CONFIG_FILE_LOCATION = "./config/config.json" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServerConfig ¶
type ServerConfig struct {
ServerPort string
DatabaseURL string
UseMockSensor bool
LogFileLocation string
ConfigFileLocation string
Logger *slog.Logger
LoggerLevel *slog.LevelVar
LogFile *os.File
Notifier *notify.Notify
Sensors sensor.Sensors
Queries *database.Queries
DBConnection *sql.DB
OriginPatterns []string
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.