12 lines
206 B
Go
12 lines
206 B
Go
package main
|
|
|
|
type Config struct {
|
|
Users []UserRegistration `yaml:"users"`
|
|
Hosts []HostRegistration `yaml:"hosts"`
|
|
}
|
|
|
|
type Request struct {
|
|
IPAddr string `json:"ipaddr"`
|
|
Secret string `json:"secret"`
|
|
}
|