Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // The database layer Store *store.Repository // Env Env *environment.Env // Config Config *domain.ThemeConfig Paths paths.Paths Installed bool System sys.System Running bool }
type Deps ¶
type Deps struct { Env *environment.Env // The database layer Store *store.Repository // Configuration file of the site Config *domain.ThemeConfig // Site Site site.Repository // Theme Theme theme.Repository Watcher *watchers.Batch // Options Options *domain.Options // Paths Paths paths.Paths // File System (Web and SPA) FS *verbisfs.FileSystem // Webp WebP webp.Execer System sys.System Installed bool Running bool // contains filtered or unexported fields }
Deps holds dependencies used by many. There will be normally only one instance of deps in play at a given time, i.e. one per Site built.
func (*Deps) SetOptions ¶
func (*Deps) SetTmpl ¶
func (d *Deps) SetTmpl(tmpl tpl.TemplateHandler)
func (*Deps) Tmpl ¶
func (d *Deps) Tmpl() tpl.TemplateHandler
Click to show internal directories.
Click to hide internal directories.