Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultConfigFile string DefaultOutputFile string )
Functions ¶
This section is empty.
Types ¶
type AutoUpdate ¶ added in v1.4.0
type Config ¶
type Config struct {
DevFolders map[string]*folders.FolderCollection `yaml:"dev_folders"`
AutoSync IntervalRunner `yaml:"auto_sync"`
AutoUpdate IntervalRunner `yaml:"auto_update"`
}
func GetDefaultConfig ¶
func GetDefaultConfig() *Config
func LoadConfigFile ¶
type IntervalRunner ¶ added in v1.4.0
type IntervalRunner struct {
Interval time.Duration `yaml:"interval"`
LastRun time.Time `yaml:"last_run"`
}
func (*IntervalRunner) Run ¶ added in v1.4.0
func (a *IntervalRunner) Run()
func (*IntervalRunner) ShouldRun ¶ added in v1.4.0
func (a *IntervalRunner) ShouldRun() bool
func (*IntervalRunner) String ¶ added in v1.4.0
func (a *IntervalRunner) String() string
Click to show internal directories.
Click to hide internal directories.