mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 23:21:08 +02:00
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.
20 lines
376 B
Go
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
|
|
}
|