* linter fixes

* Golint and format code

* fmt
This commit is contained in:
Miek Gieben 2017-02-22 07:25:58 +00:00 committed by GitHub
parent 81af74aad0
commit c5224b1048
14 changed files with 43 additions and 41 deletions

View file

@ -20,7 +20,7 @@ func newDNSEx() *dnsEx {
return &dnsEx{group: new(singleflight.Group), Timeout: defaultTimeout * time.Second}
}
func (g *dnsEx) Protocol() string { return "dns" }
func (d *dnsEx) Protocol() string { return "dns" }
func (d *dnsEx) OnShutdown(p *Proxy) error { return nil }
func (d *dnsEx) OnStartup(p *Proxy) error { return nil }