Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *lecho.Logger
Logger is global since we will need it everywhere
Functions ¶
This section is empty.
Types ¶
type FrontEndConfig ¶
FrontEndConfig stores all of the frontend settings
type ServerConfig ¶
type ServerConfig struct {
StormID int `storm:"id"`
ListenAddrIP string
ListenAddrPort string
IngressPath string
IngressDelete bool
IngressMoveFolder string
IngressPreserve bool
DocumentPath string
NewDocumentFolder string //absolute path to new document folder
NewDocumentFolderRel string //relative path to new document folder Needed for multiple levels deep.
WebUIPass bool
ClientUsername string
ClientPassword string
PushBulletToken string `json:"-"`
MagickPath string
TesseractPath string
UseReverseProxy bool
BaseURL string
IngressInterval int
FrontEndConfig
}
ServerConfig contains all of the server settings defined in the TOML file
func SetupServer ¶
func SetupServer() (ServerConfig, *lecho.Logger)
SetupServer does the initial configuration
Click to show internal directories.
Click to hide internal directories.