host

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(host ...string) *block.Block

New creates new host block

func NewCIDR

func NewCIDR(pattern ...string) *block.Block

NewCIDR creates new CIDR host matcher block

func StripPort added in v0.11.2

func StripPort() parapet.Middleware

StripPort strips port from request's host

func ToLower added in v0.11.2

func ToLower() parapet.Middleware

ToLower converts request's host to lowercase

Types

This section is empty.

Jump to

Keyboard shortcuts

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