package
4.41.0
Repository: https://github.com/redpanda-data/benthos.git
Documentation: pkg.go.dev

# Functions

BasicAuthConfigFromParsed extracts the auth fields from the parsed config and returns a BasicAuth config.
BasicAuthFieldSpec returns the spec for an HTTP BasicAuth component.
CORSConfigFromParsed extracts the CORS fields from the parsed config and returns a CORS config.
NewBasicAuthConfig returns a BasicAuthConfig with default values.
NewServerCORSConfig returns a new server CORS config with default fields.
ServerCORSFieldSpec returns a field spec for an http server CORS component.

# Structs

BasicAuthConfig contains struct based fields for basic authentication.
CORSConfig contains struct configuration for allowing CORS headers.