redis

package
v0.0.0-...-85a9dc9 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 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 Store

type Store interface {
	ClientsInc(app, version, platform string) (int64, error)
	MarkAlive(string) error
	DropState(string) error
	GetState(string) ([]int64, bool, error)
	IsAlive(string) (bool, error)
	TogglesGet(app, version, platform string, keys toggle.Keys) ([]int64, error)
	TogglesIncr(app, version, platform string, keys toggle.Keys) (string, error)
}

func New

func New(c radix.Client, d time.Duration) Store

New create new redis store.

Jump to

Keyboard shortcuts

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