simpleredis

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

a simple redis writer with pool support

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	Save(op string, key string, value string) error
	Open() error
	Close()
}

type StorageRedis

type StorageRedis struct {
	URL string
	// contains filtered or unexported fields
}

func (*StorageRedis) Close

func (sr *StorageRedis) Close()

func (*StorageRedis) Open

func (sr *StorageRedis) Open() error

func (*StorageRedis) Save

func (sr *StorageRedis) Save(op string, key string, value string) error

Jump to

Keyboard shortcuts

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