fix smells

This commit is contained in:
A.Unger
2021-11-02 14:48:40 +01:00
parent 2d7a394a30
commit 2a14bb362a
3 changed files with 3 additions and 14 deletions
-9
View File
@@ -1,7 +1,6 @@
package http
import (
"crypto/tls"
"strings"
"time"
@@ -34,11 +33,3 @@ func NewService(opts ...Option) Service {
return Service{micro.NewService(wopts...)}
}
func transport(secure *tls.Config) string {
if secure != nil {
return "https"
}
return "http"
}