Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
type AgentConfig struct {
Agent string `yaml:"agent"`
Schedule string `yaml:"schedule"`
Duration time.Duration `yaml:"duration"`
}
AgentConfig holds the limit configuration for a user agent.
type Agents ¶
Agents holds the cron limits for a set of user agents.
func ParseConfig ¶
ParseConfig interprets the configuration file and returns the set of agent limits.
Click to show internal directories.
Click to hide internal directories.