impl

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedis

func NewRedis(opts ...Option) standard.ILock

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithExpiry

func WithExpiry(expiry time.Duration) Option

func WithName

func WithName(name string) Option

func WithRedisPool

func WithRedisPool(pool *redigo.Pool) Option

func WithTries

func WithTries(tries int) Option

Jump to

Keyboard shortcuts

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