Remove resolver logic

This commit is contained in:
Ben Toogood 2020-04-02 18:03:57 +01:00
parent 4a4c666528
commit cfde3ec3d9

View File

@ -7,7 +7,6 @@ import (
"net/url"
"strings"
"github.com/micro/go-micro/v2/api/resolver"
"github.com/micro/go-micro/v2/auth"
"github.com/micro/go-micro/v2/logger"
)
@ -21,9 +20,8 @@ func CombinedAuthHandler(h http.Handler) http.Handler {
}
type authHandler struct {
handler http.Handler
auth auth.Auth
resolver resolver.Resolver
handler http.Handler
auth auth.Auth
}
func (h authHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {