Remove these methods

This commit is contained in:
Miek Gieben 2011-12-16 19:36:33 +01:00
parent d2a064e390
commit 53de6bd81c
1 changed files with 0 additions and 16 deletions

View File

@ -34,22 +34,6 @@
// //
package dns package dns
func (u *Msg) Zone() []Question {
return u.Question
}
func (u *Msg) Prereq() []RR {
return u.Answer
}
func (u *Msg) Update() []RR {
return u.Ns
}
func (u *Msg) Additional() []RR {
return u.Extra
}
// NewUpdate creates a new DNS update packet, which is a normal DNS message. // NewUpdate creates a new DNS update packet, which is a normal DNS message.
func NewUpdate(zone string, class uint16) *Msg { func NewUpdate(zone string, class uint16) *Msg {
u := new(Msg) u := new(Msg)