middlewares

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AclParser

func AclParser(be backend.Backend, logger s3log.AuditLogger, readonly bool) fiber.Handler

func DebugLogger added in v1.0.13

func DebugLogger() fiber.Handler

func DecodeURL

func DecodeURL(logger s3log.AuditLogger, mm *metrics.Manager) fiber.Handler

func IsAdmin added in v1.0.8

func IsAdmin(logger s3log.AuditLogger) fiber.Handler

func VerifyMD5Body

func VerifyMD5Body(logger s3log.AuditLogger) fiber.Handler

func VerifyPresignedV4Signature

func VerifyPresignedV4Signature(root RootUserConfig, iam auth.IAMService, logger s3log.AuditLogger, mm *metrics.Manager, region string, debug bool) fiber.Handler

func VerifyV4Signature

func VerifyV4Signature(root RootUserConfig, iam auth.IAMService, logger s3log.AuditLogger, mm *metrics.Manager, region string, debug bool) fiber.Handler

Types

type RootUserConfig

type RootUserConfig struct {
	Access string
	Secret string
}

Jump to

Keyboard shortcuts

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