Types should be usable with the Go type system
This commit is contained in:
parent
7d0a9dd4ca
commit
26f62197ba
4
types.go
4
types.go
|
@ -413,7 +413,7 @@ func (rr *RR_RRSIG) String() string {
|
|||
type RR_NSEC struct {
|
||||
Hdr RR_Header
|
||||
NextDomain string "domain-name"
|
||||
TypeBitMap []byte "NSEC"
|
||||
TypeBitMap []int "NSEC"
|
||||
}
|
||||
|
||||
func (rr *RR_NSEC) Header() *RR_Header {
|
||||
|
@ -473,7 +473,7 @@ type RR_NSEC3 struct {
|
|||
Salt string "hex"
|
||||
HashLength uint8
|
||||
NextDomain string "domain-name"
|
||||
TypeBitMap []byte "NSEC3"
|
||||
TypeBitMap []int "NSEC3" // &{TypeSOA,TypeDS,etc}
|
||||
}
|
||||
|
||||
func (rr *RR_NSEC3) Header() *RR_Header {
|
||||
|
|
Loading…
Reference in New Issue