hugo

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSiteService

func NewSiteService(config midas.Site) (midas.SiteService, error)

Types

type SiteService

type SiteService struct {
	Site midas.Site
	// contains filtered or unexported fields
}

func (SiteService) BuildDrafts

func (s SiteService) BuildDrafts() error

func (SiteService) BuildSite

func (s SiteService) BuildSite(useCache bool) error

func (SiteService) CreateEntry

func (s SiteService) CreateEntry(payload midas.Payload) (string, error)

func (SiteService) DeleteEntry

func (s SiteService) DeleteEntry(payload midas.Payload) (string, error)

func (SiteService) EntryId

func (s SiteService) EntryId(payload midas.Payload) string

EntryId generates the entry to be used in registry.

func (SiteService) GetRegistryService

func (s SiteService) GetRegistryService() (midas.RegistryService, error)

func (SiteService) UpdateEntry

func (s SiteService) UpdateEntry(payload midas.Payload) (string, error)

func (SiteService) UpdateSingle added in v1.1.0

func (s SiteService) UpdateSingle(payload midas.Payload) (string, error)

Jump to

Keyboard shortcuts

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