You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: router.go
    path of file: ./repos/lura/router/gorilla
    
    the code of the file until where you have to start completion: // SPDX-License-Identifier: Apache-2.0

/*
Package gorilla provides some basic implementations for building routers based on gorilla/mux
*/
package gorilla

import (
	"net/http"

	gorilla "github.com/gorilla/mux"

	"github.com/luraproject/lura/v2/logging"
	"github.com/luraproject/lura/v2/proxy"
	"github.com/luraproject/lura/v2/rou
    
func DefaultConfig(pf proxy.Factory, logger logging.Logger) mux.Config {
	return mux.Config{
		Engine:         gorillaEngine{gorilla.NewRouter()},
		Middlewares:    []mux.HandlerMiddleware{},
		HandlerFactory: mux.CustomEndpointHandler(mux.NewRequestBuilder(gorillaParamsExtractor)),
		ProxyFactory:   pf,
		Logger:         logger,
		DebugPattern:   "/__debug/{params}",
		EchoPattern:    "/__echo/{params}",
		RunServer:      server.RunServer,
	}
}