http

package
v0.0.0-...-1c4d217 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReverseProxy

type ReverseProxy struct {
	// Prepare request for further processing by proxy before sending to upstream endpoint
	PrepareRequest func(request *fiber.Ctx) error
	// Modify response before sending to upstream endpoint
	ModifyResponse func(c *fiber.Ctx) error
	// Handle error occurred during request forwarding to upstream
	HandleError func(c *fiber.Ctx) error
}

func (*ReverseProxy) Proxy

func (p *ReverseProxy) Proxy(ctx *fiber.Ctx) (err error)

Jump to

Keyboard shortcuts

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