1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
package server import ( "fmt" "time" ) type MessageNodeSubmission struct { SerialNumber string NotBefore time.Time DomainNames []string PEMChain []byte } type ErrorUnauthorizedDomainName struct { PEMChain []byte Node Node Err error } func (e ErrorUnauthorizedDomainName) Error() string { return fmt.Sprintf("%v", e.Err) }