redis

package
v0.0.0-...-12f838c Latest Latest
Warning

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

Go to latest
Published: Jul 1, 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 RedisCoordinator

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

func NewRedisCoordinator

func NewRedisCoordinator() (*RedisCoordinator, error)

func (*RedisCoordinator) GetAllTimes

func (r *RedisCoordinator) GetAllTimes() (map[string]int64, error)

func (*RedisCoordinator) GetLeastTime

func (r *RedisCoordinator) GetLeastTime() (int64, error)

func (*RedisCoordinator) GetWorkerId

func (r *RedisCoordinator) GetWorkerId() (uint64, error)

func (*RedisCoordinator) ReportTime

func (r *RedisCoordinator) ReportTime(timestamp int64) error

Jump to

Keyboard shortcuts

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