Categorygithub.com/p8bin/dlocker
modulepackage
0.0.6-beta
Repository: https://github.com/p8bin/dlocker.git
Documentation: pkg.go.dev

# README

Distributed locker

Embed distributed locker (distributed mutex). You need to implement persistent lock storage in order to use it (or use the provided mongodb storage provider). With Extender you can extend lock several or infinity times.

For critical data updates (during lock), it is recommended to additionally use data versioning.

For more details see examples.

# Packages

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

# Functions

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

# Structs

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

# Interfaces

Lock context.
Manages locks.
Extends existing lock.
Creates lock records in a persistent storage.