config

package
v0.0.0-...-99e6a18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QOR  QORConfig
	Hugo HugoConfig
	DB   *gorm.DB
	Auth admin.Auth
	I18n *i18n.I18n
)

Functions

This section is empty.

Types

type HugoConfig

type HugoConfig struct {
	BaseURL        string `json:"baseurl"`
	StaticDir      string `json:"staticdir"`
	PublishDir     string `json:"publishdir"`
	LanguageCode   string `json:"languageCode"`
	DisableRSS     bool   `json:"disableRSS"`
	MetaDataFormat string
	Menu           map[string]interface{}
	Params         map[string]interface{}
}

type QORConfig

type QORConfig struct {
	Addr     string
	SiteName string
	Paths    []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL