package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Sep 15, 2017
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Action struct {
Type string `hcl:",key"`
Options map[string]string `hcl:"options" hcle:"omitempty"`
}
type Config struct {
DefaultURL string `hcl:"default_url"`
WorkDirectory string `hcl:"work_directory"`
LogFile string `hcl:"log_file"`
Watches []Watch `hcl:"watch"`
}
Configure uses viper to manage configuration
type Watch struct {
Path string `hcl:",key"`
Actions []Action `hcl:"action"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.