Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Prnt *pringo.Printer = pringo.NewDefault()
Functions ¶
func ArrayContains ¶
func FileExists ¶
func GetHomeDir ¶
func GetHomeDir() string
func LoadConfig ¶
func LoadConfig(path string)
Types ¶
type ConfigType ¶
type ConfigType struct { Port int `json:"port"` CDNpath string `json:"root"` BindAddr string `json:"bindAddr"` Icon string `json:"hosticon"` Uuid string `json:"uuid"` Locked bool Name string `json:"vendorName"` Access string `json:"htpasswd"` Pem string `json:"pemTLS"` Key string `json:"keyTLS"` }
var Config ConfigType
Click to show internal directories.
Click to hide internal directories.