Browse Source

revert back to a struct

master
Brett Langdon 10 years ago
parent
commit
d099a6b36b
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      registry.go

+ 3
- 1
registry.go View File

@ -56,7 +56,9 @@ func (entry DomainEntry) GetEntries(rrClass uint16) []RecordsEntry {
}
// Registry is a container for looking up DNS records for any request
type Registry map[string]DomainEntry
type Registry struct {
records map[string]DomainEntry
}
// NewRegistry will allocate and return a new *Registry
func NewRegistry() *Registry {


Loading…
Cancel
Save