server

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run added in v0.2.0

func Run(c cache.Cache) error

Types

type Webserver

type Webserver struct {
	Cache    cache.Cache
	Index404 []byte
}

func (*Webserver) HandleFastHTTP

func (h *Webserver) HandleFastHTTP(ctx *fasthttp.RequestCtx)

func (*Webserver) HandleFastHTTPWithBotProxy added in v0.5.0

func (h *Webserver) HandleFastHTTPWithBotProxy(botHeaderRegex *regexp.Regexp, proxy fasthttp.RequestHandler) func(ctx *fasthttp.RequestCtx)

Jump to

Keyboard shortcuts

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