proxy

package
v0.0.0-...-285c3ee Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package proxy implements the oxy-library for HTTP-forwarding

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrettyError

func PrettyError(w http.ResponseWriter)

func Proxy

func Proxy(to string) (http.HandlerFunc, error)

Types

type ErrorHandler

type ErrorHandler struct {
}

func (*ErrorHandler) ServeHTTP

func (e *ErrorHandler) ServeHTTP(w http.ResponseWriter, req *http.Request, err error)

Jump to

Keyboard shortcuts

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