vault/http/util_stubs_oss.go
Nick Cabatoff e232da5ffa
Teach stubmaker how to work with methods, not just funcs. (#23634)
Teach stubmaker how to work with methods, not just funcs.  Fix some stubs defined in #23557 which either had the wrong signature or needed to be public.
2023-10-12 14:38:28 -04:00

24 lines
599 B
Go

//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) {
}