middleware

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WireGuardMiddlewareWithInterface

func WireGuardMiddlewareWithInterface(wireGuardInterface string, wireGuardCIDR string) func(http.Handler) http.Handler

WireGuardMiddleware enforces policies based on the interface and subnet.

func WireGuardMiddlewareWithProxy

func WireGuardMiddlewareWithProxy(wireGuardCIDR string, allow bool) func(http.Handler) http.Handler

WireGuardMiddlewareWithProxy creates a middleware to enforce WireGuard policy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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