mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
Small documenation updates
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user