2020-01-04 21:22:45 +00:00
|
|
|
package main
|
|
|
|
|
2020-02-07 16:08:57 +00:00
|
|
|
type portalConfig struct {
|
2020-01-04 21:22:45 +00:00
|
|
|
Command string
|
|
|
|
Host []string `yaml:",flow"`
|
|
|
|
}
|
|
|
|
|
2020-02-07 16:08:57 +00:00
|
|
|
type appConfig struct {
|
|
|
|
Portals map[string]*portalConfig
|
2020-01-04 21:22:45 +00:00
|
|
|
}
|
|
|
|
|
2020-02-07 16:08:57 +00:00
|
|
|
var config = &appConfig{}
|