lib

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConsumptionOffsetKey = "konsumerator_consumption_offsets"
	ProductionOffsetKey  = "konsumerator_production_offsets"
)

Variables

This section is empty.

Functions

func GetOffset

func GetOffset(client *redis.Client, key string, defaultValue int) (int, error)

func NewRedisClient

func NewRedisClient(addr string) (*redis.Client, error)

func SetOffset

func SetOffset(client *redis.Client, key string, value int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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