valkey

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package valkey provides the sessionstore.module.valkey module: a session.Repository backed by Valkey, configured by the top-level valkey: config block. It registers itself with the sessionmanager module registry at init time and is loaded by business.Main as a top-level dependency.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	*sessionvalkey.Repository

	Mod       string              `yaml:"module"`
	Host      commoncfg.SourceRef `yaml:"host"`
	User      commoncfg.SourceRef `yaml:"user"`
	Password  commoncfg.SourceRef `yaml:"password"`
	Prefix    string              `yaml:"prefix"`
	SecretRef commoncfg.SecretRef `yaml:"secretRef"`
	// contains filtered or unexported fields
}

Module is the sessionstore.module.valkey module. It owns a Valkey client and exposes a session.Repository backed by it.

func (*Module) Close

func (m *Module) Close() error

func (*Module) Module

func (m *Module) Module() sessionmanager.ModuleInfo

func (*Module) Provision

func (m *Module) Provision(_ *sessionmanager.Context) error

Jump to

Keyboard shortcuts

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