httpctx

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKey

type ContextKey string

ContextKey names a request-local value stored in fiber.Ctx locals.

const (
	ContextKeyRegion           ContextKey = "region"
	ContextKeyStartTime        ContextKey = "start-time"
	ContextKeyIsRoot           ContextKey = "is-root"
	ContextKeyRootAccessKey    ContextKey = "root-access-key"
	ContextKeyAccount          ContextKey = "account"
	ContextKeyAuthenticated    ContextKey = "authenticated"
	ContextKeyPublicBucket     ContextKey = "public-bucket"
	ContextKeyParsedAcl        ContextKey = "parsed-acl"
	ContextKeySkipResBodyLog   ContextKey = "skip-res-body-log"
	ContextKeyBodyReader       ContextKey = "body-reader"
	ContextKeySkip             ContextKey = "__skip"
	ContextKeyStack            ContextKey = "stack"
	ContextKeyBucketOwner      ContextKey = "bucket-owner"
	ContextKeyObjectPostResult ContextKey = "object-post-result"
	ContextKeyRequestID        ContextKey = "request-id"
	ContextKeyHostID           ContextKey = "host-id"
	ContextKeyWebsiteConfig    ContextKey = "website-config"
	ContextKeyCallerIdentity   ContextKey = "iam-caller-identity"
	ContextKeyOriginalURIPath  ContextKey = "original-uri-path"
)

func (ContextKey) Delete

func (ck ContextKey) Delete(ctx fiber.Ctx)

func (ContextKey) Get

func (ck ContextKey) Get(ctx fiber.Ctx) any

func (ContextKey) IsSet

func (ck ContextKey) IsSet(ctx fiber.Ctx) bool

func (ContextKey) Set

func (ck ContextKey) Set(ctx fiber.Ctx, val any)

Jump to

Keyboard shortcuts

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