aboutsummaryrefslogtreecommitdiff
path: root/registration.go
blob: d0e75d8ef1df47113f8cc2016be67458591dd1a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package acme

type Registration struct {
	Resource string   `json:"resource"`
	Contact  []string `json:"contact"`
}

func NewRegistration(contact []string) Registration {
	return Registration{
		Resource: "new-reg",
		Contact:  contact,
	}
}