bufstudioagent

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 17 Imported by: 1

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,
) 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