mirror of
https://github.com/coredns/coredns.git
synced 2025-10-30 09:43:17 -04:00
cleanups: go vet/golint (#331)
Go vet and golint the new code once again. Drop Name from NameTemplate - it's cleaner: nametemplate.Template.
This commit is contained in:
@@ -17,7 +17,7 @@ var errUnreachable = errors.New("unreachable backend")
|
||||
// Proxy represents a middleware instance that can proxy requests to another DNS server.
|
||||
type Proxy struct {
|
||||
Next middleware.Handler
|
||||
Client *Client
|
||||
Client *client
|
||||
Upstreams []Upstream
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user