rediswritekey

package
v0.0.0-...-9e81241 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	ManagerAdapter manager.Manager
	// contains filtered or unexported fields
}

func New

func New(adapter redis.Adapter, managerAdapter manager.Manager) DB

New is Constructor redis DB.

func (*DB) CreateNewWriteKey

func (r *DB) CreateNewWriteKey(ctx context.Context, writeKey *proto_source.NewSourceEvent, expirationTime uint) error

func (*DB) IsWriteKeyValid

func (r *DB) IsWriteKeyValid(ctx context.Context, writeKey string, expirationTime uint) (bool, error)

Jump to

Keyboard shortcuts

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