mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 16:54:15 -04:00
golint
This commit is contained in:
1
middleware/cache/handler.go
vendored
1
middleware/cache/handler.go
vendored
@@ -37,6 +37,7 @@ func (c *Cache) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg)
|
||||
return c.Next.ServeDNS(ctx, crr, r)
|
||||
}
|
||||
|
||||
// Name implements the Handler interface.
|
||||
func (c *Cache) Name() string { return "cache" }
|
||||
|
||||
func (c *Cache) get(qname string, qtype uint16, do bool) (*item, bool, bool) {
|
||||
|
||||
Reference in New Issue
Block a user