package
0.0.0-20240623154729-0440badada5a
Repository: https://github.com/fengmingli/gotool.git
Documentation: pkg.go.dev

# Functions

NewDistributedLock creates a new distributed lock based on the provided type.
NewMySQLLock creates a new MySQLLock.
NewRedisLock creates a new RedisLock.

# Constants

MySQLLockType represents a MySQL lock.
RedisLockType represents a Redis lock.

# Structs

No description provided by the author
No description provided by the author

# Interfaces

DistributedLock defines the interface for a distributed lock.

# Type aliases

LockType represents the type of distributed lock.