octx

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package octx houses context keys used by multiple ong packages.

Index

Constants

View Source
const (
	// LogCtxKey is the name of the context key used to store the logID.
	// It is used primarily by `ong/log`, `ong/client` and `ong/middleware` packages
	LogCtxKey = logContextKeyType("Ong-logID")

	// FingerPrintCtxKey is the name of the context key used to store the TLS fingerprint.
	FingerPrintCtxKey = fingerPrintKeyType("fingerPrintKeyType")

	// AntiReplayCtxKey is the name of the context key used to store cookie anti [replay attacks] data.
	//
	// [replay attacks]: https://en.wikipedia.org/wiki/Replay_attack
	AntiReplayCtxKey = antiReplayContextKeyType("antiReplayContextKeyType")
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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