Documentation ¶
Index ¶
Constants ¶
View Source
const (
WEB_METADATA_PATH = "./config/websites.json"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConstantsConfig ¶
type ConstantsConfig struct {
SiteMetaData SiteConfig
}
var ( // Ensure files only have to be read once CONFIG_READ_MUTEX sync.Mutex CONFIG *ConstantsConfig )
func GetConfig ¶
func GetConfig() *ConstantsConfig
type SiteConfig ¶
type SiteConfig struct {
SitePath map[string]WebPageTemplate
}
Click to show internal directories.
Click to hide internal directories.