utils

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const TokenNameKey = "token-name-key"

Variables

This section is empty.

Functions

func TokenNameFromContext

func TokenNameFromContext(ctx context.Context) string

TokenNameFromContext returns a token name from a request context. Can be added by auth middleware.

Types

This section is empty.

Jump to

Keyboard shortcuts

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