Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Node nodeConfig `toml:"node"`
Schedule []planConfig `toml:"schedule"`
Tasks []taskConfig `toml:"tasks"`
}
Config represents a genernal config file
func (*Config) CheckConfig ¶
CheckConfig checks configuration's legality.
func (*Config) LoadConfig ¶
LoadConfig loads configuration from string.
Click to show internal directories.
Click to hide internal directories.