handler

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 14 Imported by: 5

Documentation

Overview

Package handler provides what is essentially the core of Up's reverse proxy, complete with all middleware for handling logging, redirectcs, static file serving and so on.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromConfig

func FromConfig(c *up.Config) (http.Handler, error)

FromConfig returns the handler based on user config.

func New

func New(c *up.Config, h http.Handler) (http.Handler, error)

New handler complete with all Up middleware.

Types

This section is empty.

Jump to

Keyboard shortcuts

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