rlock

package
v0.0.0-...-c6bf554 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var REDIS_KEY = "github.com/czasg/go-lock"

Functions

This section is empty.

Types

type RedisLock

type RedisLock struct{}

func NewRedisLock

func NewRedisLock() *RedisLock

func (*RedisLock) Lock

func (r *RedisLock) Lock() (Unlock, error)

type Unlock

type Unlock func()

Jump to

Keyboard shortcuts

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