handlers

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

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

Go to latest
Published: Feb 4, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package handlers is an enumeration of backend handlers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeGoogle

func ServeGoogle(w http.ResponseWriter, r *http.Request)

ServeGoogle is a proxy to google that does not filter URLs

func ServeGoogleFiltered

func ServeGoogleFiltered(w http.ResponseWriter, r *http.Request)

ServeGoogleFiltered is a proxy to google that filters URLs

Types

type Play

type Play struct {
	ChallengeStore       domain.ChallengeStore
	ChallengeResultStore domain.ChallengeResultStore
	Config               domain.Config
}

A Play is a context to ServeHTTP on

func (Play) ServeHTTP

func (handler Play) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (Play) ServeLocation

func (handler Play) ServeLocation(l domain.Coords, w http.ResponseWriter, r *http.Request)

ServeLocation serves a specific location to the user.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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