storage

package
v0.0.0-...-9450798 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	Lock(ctx context.Context, eventID string, offset int64, userID string, ttl time.Duration) (bool, error)
	Unlock(ctx context.Context, eventID string, offset int64) error
}

func NewRedisProvider

func NewRedisProvider(client *redis.Client, prefix string) Provider

Jump to

Keyboard shortcuts

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