redis

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisLogDriver

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

func New

func New(db database.Name) *RedisLogDriver

func (*RedisLogDriver) DeleteListBatch

func (r *RedisLogDriver) DeleteListBatch(listName string, count int64) error

func (*RedisLogDriver) FetchListBatch

func (r *RedisLogDriver) FetchListBatch(listName string, count int64) ([]string, error)

func (*RedisLogDriver) Write

func (r *RedisLogDriver) Write(p []byte) (n int, err error)

This should be PushToList, but has to match the function signature for the io.Writer interface

Jump to

Keyboard shortcuts

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