gatewaykeys

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Overview

Package gatewaykeys is the previous home of the API-key half of the Gateway runtime contract. New code should use pkg/gatewaycontract.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashAPIKey

func HashAPIKey(apiKey string, pepper string) string

HashAPIKey hashes a runtime API key the way Gateway looks it up.

func RedisKeyAPIKeyHash

func RedisKeyAPIKeyHash(keyHash string) string

RedisKeyAPIKeyHash is the Redis HASH key for a hashed runtime API key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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