middleware

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicAuth

func BasicAuth(next server.HandlerFunc) server.HandlerFunc

BasicAuth returns a handler that enforces HTTP Basic Auth for Web Console routes. Authentication is skipped when User is not configured.

func SigV4

SigV4 returns a handler that enforces AWS Signature Version 4 authentication for S3 API routes. Authentication is skipped when User is not configured. Requests with X-Amz-Date outside ±15 minutes of server time are rejected.

Types

This section is empty.

Jump to

Keyboard shortcuts

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