Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigService ¶
type ConfigService interface {
UpdateCopyrightYears() error
}
ConfigService updates hugo configuration data (config.json)
type GeneratorService ¶
GeneratorService generates page from configuration data
type ItemData ¶
type ItemData struct {
Items []string `json:"items"`
}
ItemData JSON encoded list of strings used for various data lists (news, services, ...)
type NewsService ¶
NewsService manges news data (custom data file, default: data/news.json)
type OpeningHours ¶
OpeningHours is JSON encoded opening hours data
type OpeningHoursService ¶
type OpeningHoursService interface { Save(o *OpeningHours) error Load() (*OpeningHours, error) }
OpeningHoursService manges opening hours data (custom data file, default: data/hours.json)
type RepositoryService ¶
RepositoryService manages page sources in VCS
type ServicesService ¶
ServicesService manges services data (custom data file, default: data/services.json)
type UploaderService ¶
UploaderService uploads generated page to server
Click to show internal directories.
Click to hide internal directories.