redis

package
v0.0.0-...-78d802f Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheStore

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

CacheStore contains the redis client connections for each item we are caching

func Connect

func Connect(host string, database, port int) (*CacheStore, error)

Connect creates a CacheStore which contains a redis client for each object store we want to cache

func (*CacheStore) Token

func (s *CacheStore) Token() store.TokenCacheStore

Token returns a postCacheStore with the redis client connected

Jump to

Keyboard shortcuts

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