mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-25 14:30:28 -05:00
get rid of http server option.Hander
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user