get rid of http server option.Hander

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2021-02-17 16:22:20 +00:00
parent 603dad3533
commit 588ac4a2a6

View File

@@ -93,10 +93,3 @@ func TLSConfig(config *tls.Config) Option {
o.TLSConfig = config
}
}
// Handler sets the http handler for the service
func Handler(h http.Handler) Option {
return func(o *Options) {
o.Handler = h
}
}