config: restructure in 'jobs' and 'global' section

This commit is contained in:
Christian Schwarz
2017-09-11 13:43:18 +02:00
parent fa4d2098a8
commit f3689563b5
7 changed files with 108 additions and 60 deletions

View File

@ -8,7 +8,16 @@ import (
)
type Config struct {
Jobs map[string]Job
Global Global
Jobs map[string]Job
}
type Global struct {
Serve struct {
Stdinserver struct {
SockDir string
}
}
}
type RPCConnecter interface {