Documentation ¶
Index ¶
- func NewSiteService(config midas.Site) (midas.SiteService, error)
- type SiteService
- func (s SiteService) BuildDrafts() error
- func (s SiteService) BuildSite(useCache bool) error
- func (s SiteService) CreateEntry(payload midas.Payload) (string, error)
- func (s SiteService) DeleteEntry(payload midas.Payload) (string, error)
- func (s SiteService) EntryId(payload midas.Payload) string
- func (s SiteService) GetRegistryService() (midas.RegistryService, error)
- func (s SiteService) UpdateEntry(payload midas.Payload) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSiteService ¶
func NewSiteService(config midas.Site) (midas.SiteService, error)
Types ¶
type SiteService ¶
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)
Click to show internal directories.
Click to hide internal directories.