bouncer

package
v0.0.0-...-92dddc7 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const CTX_LINKPROV = "linkprov"

Variables

This section is empty.

Functions

func UrlCache

func UrlCache(next http.Handler, url_prov ytlinkprov.YtLinkProvider) http.Handler

Types

type Bouncer

type Bouncer struct {
	http.Server
	// contains filtered or unexported fields
}

func NewBouncerHTTPServer

func NewBouncerHTTPServer(
	ctx context.Context,
	listAddr string,
	link_prov ytlinkprov.YtLinkProvider,
) (srv *Bouncer, err error)

Jump to

Keyboard shortcuts

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