Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port string `yaml:"port"` Addr string `yaml:"addr"` Verbose bool `yaml:"verbose"` UseHTTPS bool `yaml:"use-https",omitempty` CertPath string `yaml:"cert-path,omitempty"` KeyPath string `yaml:"key-path,omitempty"` LogFile string `yaml:"log-file,omitempty"` Log *utils.Log TplVars map[string]interface{} `yaml:"vars,omitempty"` TplErroPage string `yaml:"error-page,omitempty"` WriteTimeOut int `yaml:"write-timeout,omitempty"` IdleTimeOut int `yaml:"idle-timeout,omitempty"` }
func (*Config) LoadConfig ¶
type SiteFileAttr ¶
type SiteFiles ¶
func (SiteFiles) GenerateSiteMap ¶
func (SiteFiles) RemoveFile ¶
func (SiteFiles) UpdateFile ¶
Click to show internal directories.
Click to hide internal directories.