Help us shape the future of Go! Take the 2026 Go Developer Survey

redis

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package redis provides Redis-backed KV, Blob, and distributed lock implementations. Its default key prefix is versioned (nexss:storage:v1), so future incompatible key-layout changes can use an explicit migration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(reg *storage.Registry) error

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

func NewBlob

func NewBlob() *Backend

func NewKV

func NewKV() *Backend

func NewLock

func NewLock() *Backend

func (*Backend) Kind

func (b *Backend) Kind() storage.Kind

func (*Backend) Name

func (b *Backend) Name() string

func (*Backend) Open

func (b *Backend) Open(opts map[string]string) (storage.Instance, error)

Jump to

Keyboard shortcuts

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