auditwebhook

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

type Webhook interface {
	manager.Component

	// AddSubscriber registers a new event handler.
	// Handlers must consume all events, otherwise this would leak memory.
	AddSubscriber(name string) <-chan *audit.Message

	// AddRawSubscriber registers a new event list handler.
	// Handlers must consume all event lists, otherwise this would leak memory.
	AddRawSubscriber(name string) <-chan *audit.RawMessage
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL