package
2.1.7+incompatible
Repository: https://github.com/matrixorigin/dragonboat.git
Documentation: pkg.go.dev

# Functions

NewLock creates a new Lock instance.
NewStopper return a new Stopper instance.

# Structs

Lock is a channel based lock with TryLock() supported, it is designed for very low contention scenario.
Stopper is a manager struct for managing worker goroutines.