documentation tweaks

This commit is contained in:
Miek Gieben 2012-08-21 16:52:36 +02:00
parent 3bbac5ec27
commit a9637eeff1
2 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,8 @@ import (
"time"
)
// Interally used for parsing from and to the XML
// Internally used for parsing from and to the XML, but needs to
// be exported for the XML parsing.
type XMLKeyDigest struct {
Id string `xml:"id,attr"`
ValidFrom string `xml:"validFrom,attr"`
@ -17,7 +18,8 @@ type XMLKeyDigest struct {
Digest string `xml:"Digest"`
}
// Interally used for parsing from and to the XML
// Internally used for parsing from and to the XML, but needs to be
// exported for the XML parsing.
type XMLTrustAnchor struct {
Id string `xml:"id,attr,omitempty"`
Source string `xml:"source,attr,omitempty"`

View File

@ -257,7 +257,7 @@ forever:
}
// ServeUDP starts a UDP listener for the server.
// Each request is handled in a seperate goroutine,
// Each request is handled in a seperate goroutine.
func (srv *Server) ServeUDP(l *net.UDPConn) error {
defer l.Close()
handler := srv.Handler