middlewares

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 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 DecodeURL

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

func ProcessChunkedBody

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

ProcessChunkedBody initializes the chunked upload stream if the request appears to be a chunked upload

func RequestLogger

func RequestLogger(isDebug bool) 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