mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-15 19:17:02 +02:00
27 lines
670 B
Go
27 lines
670 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
//go:build !enterprise
|
|
|
|
package http
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/hashicorp/vault/sdk/logical"
|
|
"github.com/hashicorp/vault/vault"
|
|
)
|
|
|
|
//go:generate go run github.com/hashicorp/vault/tools/stubmaker
|
|
|
|
func entWrapGenericHandler(core *vault.Core, in http.Handler, props *vault.HandlerProperties) http.Handler {
|
|
// Wrap the help wrapped handler with another layer with a generic
|
|
// handler
|
|
return wrapGenericHandler(core, in, props)
|
|
}
|
|
|
|
func entAdditionalRoutes(mux *http.ServeMux, core *vault.Core) {}
|
|
|
|
func entAdjustResponse(core *vault.Core, w http.ResponseWriter, req *logical.Request) {
|
|
}
|