bufstudioagent

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const MaxMessageSizeBytesDefault = 1024 * 1024 * 5

MaxMessageSizeBytesDefault determines the maximum number of bytes to read from the request body.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(
	logger *zap.Logger,
	origin string,
	tlsClientConfig *tls.Config,
	disallowedHeaders map[string]struct{},
	forwardHeaders map[string]string,
	privateNetwork bool,
) http.Handler

NewHandler creates a new handler that serves the invoke endpoints for the agent.

Types

This section is empty.

Jump to

Keyboard shortcuts

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