pages package

import "code.pfad.fr/pages"

Index

func ComputeHash

func CustomizedNotFoundFile

CustomizedNotFoundFile check if a {name}.redirect file is present and redirects there. Webfinger will be handled has well. Otherwise fallbacks to the notFoundName file.

func HashChecker

func HideDirWithoutIndex

indexName is usually "index.html"

func HijackNotFoundResponse

func NewRequestCounter

func RedirectHandler

func ServerHeader

func ToPunyCode

type Server

func (*Server) Serve

Source Files

auth.go fs.go metrics.go not_found.go redirect.go server.go

Directories

Path Synopsis
cmd/http-redirect
cmd/http3get6
cmd/keygen
cmd/map64
cmd/pages
packetconn

Forge

https://codeberg.org/pfad.fr/pages

git clone
https://codeberg.org/pfad.fr/pages.git
git@codeberg.org:pfad.fr/pages.git