documentation

This commit is contained in:
Miek Gieben 2012-01-26 22:46:59 +01:00
parent 7b1f981acb
commit 4f588a5d15

8
msg.go
View File

@ -78,10 +78,10 @@ type MsgHdr struct {
type Msg struct {
MsgHdr
Compress bool // If true, the message will be compressed when converted to wire format.
Question []Question
Answer []RR
Ns []RR
Extra []RR
Question []Question // Holds the RR(s) of the question section.
Answer []RR // Holds the RR(s) of the answer section.
Ns []RR // Holds the RR(s) of the authority section.
Extra []RR // Holds the RR(s) of the additional section.
}
// Map of strings for each RR wire type.