lock

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 InitLock

func InitLock(lockType Type) standard.ILock

Types

type Config

type Config struct {
	// 类型: redis
	Type string
	// 配置,根据类型对应不同的类型
	Config interface{}
}

配置

type Type

type Type string
const (
	Redis Type = "redis"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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