redis

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package redis provides opt-in, non-destructive Redis acceptance helpers. Callers scope their keys to their own namespace; no helper flushes or deletes shared data.

Index

Constants

View Source
const (
	AddressVariable  = "FOUNDRY_TEST_REDIS_ADDR"
	RequiredVariable = "FOUNDRY_TEST_REDIS_REQUIRED"
)

Variables

This section is empty.

Functions

func Config

func Config(t testing.TB) redis.Config

Config reads the explicitly opted-in plaintext endpoint (host:port) over the default client limits. Ordinary test runs skip without it; the required acceptance command fails if it is missing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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