httpserver

package
v0.0.0-...-d47b614 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, addr string, port uint, handler http.Handler) error

func RunProxy

func RunProxy(ctx context.Context, internetFacing bool, addr string, port uint, handler http.Handler) error

RunProxy starts the HTTP server that proxy authenticated requests to their backend when internetFacing is true, this proxy has very strict timeouts and limits, otherwise it will not have any limits and such protections should be handled by a reverse-proxy in front of auth and by downstream services that should close the connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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