2023-07-24 21:54:56 -04:00
|
|
|
package main
|
|
|
|
|
|
|
|
type Config struct {
|
2024-06-26 22:10:29 -04:00
|
|
|
Users []UserRegistration `yaml:"users"`
|
|
|
|
Hosts []HostRegistration `yaml:"hosts"`
|
2023-07-24 21:54:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
type Request struct {
|
|
|
|
IPAddr string `json:"ipaddr"`
|
|
|
|
Secret string `json:"secret"`
|
|
|
|
}
|