Small documenation updates

This commit is contained in:
Miek Gieben 2016-04-04 09:10:07 +00:00
parent 84dfdab584
commit 45ac2dd0c0
4 changed files with 7 additions and 5 deletions

View file

@ -9,10 +9,12 @@ import (
"golang.org/x/net/context"
)
// Chaos allows CoreDNS to reply to CH TXT queries and return author or
// version information.
type Chaos struct {
Next middleware.Handler
Version string
Authors map[string]bool // get randomization for free \o/
Authors map[string]bool
}
func (c Chaos) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {