redisgrouplooker

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(hostname string, port, db, ttl int, wrapped pkg.GroupLooker) pkg.GroupLooker

redisgrouplooker is a wrapper around any GroupLooker that will cache resglts for a given TTL. If the query cannot be found in the cache, it will call the wrapped GroupLooker for getting the resglts and it will cache the resglts for the configured TTL

Types

This section is empty.

Jump to

Keyboard shortcuts

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