operatorapi

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package operatorapi exposes BrokerKit Operator V1 over protected HTTP.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options Options) (http.Handler, error)

Types

type AuditRecorder

type AuditRecorder interface {
	Record(audit.Event) error
}

type Authorizer

type Authorizer func(*http.Request) (string, error)

type Options

type Options struct {
	Inbox            *operatorinbox.Service
	Decisions        *decision.Service
	Authorize        Authorizer
	Broker           string
	Audit            AuditRecorder
	NewCorrelationID func() (string, error)
}

Jump to

Keyboard shortcuts

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