handler

package
v0.0.0-...-270c6f7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	Config *config.AppConfig
	Logger *log.Logger
}

func (*Base) CustomRouteHandler

func (b *Base) CustomRouteHandler(proxy *httputil.ReverseProxy) func(w http.ResponseWriter, r *http.Request)

func (*Base) Handler

func (b *Base) Handler(proxy *httputil.ReverseProxy, targetHost string) func(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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