ctxkey

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package ctxkey contains the context keys used by httphandle.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKey

type ContextKey int

ContextKey is the type of context keys.

const (
	// Logger is the context key a logger.
	Logger ContextKey = iota
	// ReqUUID is the context key a request UUID.
	ReqUUID
	// Tx is the context key for a database transaction.
	Tx
)

Jump to

Keyboard shortcuts

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