feat: add manager
This commit is contained in:
@@ -1,15 +1 @@
|
||||
package config
|
||||
|
||||
import "time"
|
||||
|
||||
type JobDef struct {
|
||||
Key string `yaml:"key"`
|
||||
Name string `yaml:"name"`
|
||||
EntryClass string `yaml:"entryClass"`
|
||||
JarURI string `yaml:"jarURI"`
|
||||
SavepointInterval time.Duration `yaml:"savepointInterval"`
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
Jobs []JobDef `yaml:"jobs"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user