redis

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SequenceStore

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

func NewSequenceStore

func NewSequenceStore(rdb *redis.Client) *SequenceStore

func (*SequenceStore) Get

func (s *SequenceStore) Get(persistentClientID string) (int64, error)

func (*SequenceStore) Store

func (s *SequenceStore) Store(persistentClientID string, sequence int64) error

Jump to

Keyboard shortcuts

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