Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitAndListenConfig ¶ added in v0.3.0
func InitAndListenConfig()
func ListenConfigurationChange ¶ added in v0.3.0
func ListenConfigurationChange(fileName string)
func WatchConfig ¶
Types ¶
type Chapter ¶
type Chapter struct { ChapterFlat `json:"ChapterFlat"` Images []ImageProvider `json:"Images"` }
func (*Chapter) FlattenImage ¶ added in v0.1.1
func (*Chapter) ReconstructImage ¶ added in v0.1.1
type ChapterFlat ¶
type ChapterFlat struct {
Id string `json:"Id"`
}
type ComicInfo ¶
type ComicInfo struct { Title ComicFlat `json:"Title"` Chapter ChapterFlat `json:"Chapter"` }
type Configuration ¶
type Configuration struct { OutputDir string `json:"outputdir"` Plugins map[string]string `json:"plugins"` Server map[string]string `json:"server"` Monitoring map[string]string `json:"monitoring"` }
var Config Configuration
func (*Configuration) ParseConfig ¶
func (c *Configuration) ParseConfig(filepath string) error
type ImageProvider ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.