vault/http/events_stubs_oss.go
Christopher Swenson ae9ec39d44
events: Now enterprise-only (#25640)
This removes the WebSockets endpoint for events
(which will be moved to the Enterprise repo) and
disables tests that rely on it unless they are
running in Enterprise.

It also updates documentation to document that
events are only available in Vault Enterprise.
2024-02-26 20:19:35 +00:00

20 lines
376 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 entHandleEventsSubscribe(core *vault.Core, req *logical.Request) http.Handler {
return nil
}