2022-07-29 03:34:55 -05:00
|
|
|
package main
|
|
|
|
|
|
|
|
type Configuration struct {
|
|
|
|
Common Common `json:"common"`
|
|
|
|
Servers []Server `json:"servers"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type Common struct {
|
|
|
|
Library string `json:"library"`
|
|
|
|
Episode string `json:"episode"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type Server struct {
|
2022-11-08 20:53:42 -06:00
|
|
|
Skip bool `json:"skip"`
|
|
|
|
Comment string `json:"comment"`
|
|
|
|
Address string `json:"address"`
|
|
|
|
Image string `json:"image"`
|
|
|
|
Username string `json:"username"`
|
|
|
|
Password string `json:"password"`
|
|
|
|
Browsers []string `json:"browsers"`
|
|
|
|
Tests []string `json:"tests"`
|
|
|
|
ManualTests bool `json:"manual_tests"`
|
2022-07-29 03:34:55 -05:00
|
|
|
|
|
|
|
// These properties are set at runtime
|
|
|
|
Docker bool `json:"-"`
|
|
|
|
}
|