rwlock

package
v0.0.0-...-0ff87c8 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RedisConn redisClient

Functions

func Init

func Init(conf *Config)

func Lock

func Lock(name string) (error, *string)

func Unlock

func Unlock(name string, uid string) error

Types

type Config

type Config struct {
	Host     string
	Port     string
	Password string
}

Jump to

Keyboard shortcuts

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