Skip to content

Commit

Permalink
remove api handler object
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fischer committed Dec 23, 2024
1 parent 947454f commit fc01ebb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions management/server/http/handlers/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ import (

const apiPrefix = "/api"

type apiHandler struct {
Router *mux.Router
AccountManager s.AccountManager
geolocationManager geolocation.Geolocation
AuthCfg configs.AuthCfg
}

// NewAPIHandler creates the Management service HTTP API handler registering all the available endpoints.
func NewAPIHandler(ctx context.Context, accountManager s.AccountManager, networksManager nbnetworks.Manager, resourceManager resources.Manager, routerManager routers.Manager, groupsManager nbgroups.Manager, LocationManager geolocation.Geolocation, jwtValidator jwtclaims.JWTValidator, appMetrics telemetry.AppMetrics, authCfg configs.AuthCfg, integratedValidator integrated_validator.IntegratedValidator) (http.Handler, error) {
claimsExtractor := jwtclaims.NewClaimsExtractor(
Expand Down

0 comments on commit fc01ebb

Please sign in to comment.