Documentation ¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_CONFIG_PATH = "config.toml"
)
Variables ¶
View Source
var ( ConfPath string Params *Config )
Functions ¶
func ParseConfigFile ¶
func ParseConfigFile()
Types ¶
type Config ¶
type Config struct {
Dest []Destination `toml:"destinations"`
}
func (*Config) ChangeParams ¶
func (*Config) GetDestination ¶
func (c *Config) GetDestination(name string) *Destination
type Destination ¶
Click to show internal directories.
Click to hide internal directories.