package
Version:
v0.0.0-...-dba5960
Opens a new window with list of versions in this module.
Published: Jul 31, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type AuthDatabase struct {
Ip string `json:"Ip"`
Port int32 `json:"Port"`
DatabaseName string `json:"DatabaseName"`
MaxBatchSize int32 `json:"MaxBatchSize"`
}
type Config struct {
AppName string `json:"AppName"`
MachineIp string `json:"MachineIp"`
ConfigFilePath string `json:"ConfigFilePath"`
FrontEnd FrontEnd `json:"FrontEnd"`
WebServer WebServer `json:"WebServer"`
AuthDatabases []AuthDatabase `json:"AuthDatabases"`
LogConfig LogConfig `json:"LogConfig"`
}
This is used to print the values of the config object
type FrontEnd struct {
ViewsPath string `json:"ViewsPath"`
TemplatesPath string `json:"TemplatesPath"`
TemplateDelimiterStart string `json:"TemplateDelimiterStart"`
TemplateDelimiterEnd string `json:"TemplateDelimiterEnd"`
}
type LogConfig struct {
Level string `json:"Level"`
Path string `json:"Path"`
Days int32 `json:"Days"`
}
type WebServer struct {
Ip string `json:"Ip"`
Port int32 `json:"Port"`
StopUrl string `json:"StopUrl"`
RestartUrl string `json:"RestartUrl"`
AuthKey string `json:"AuthKey"`
Mode string `json:"Mode"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.