jim3ma / go-lockable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


go-lockable

key based lock

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License

About The Project

go-lockable provides a simple implementation for acquiring locks by key. This can be useful when multiple goroutines need to manipulate a map atomically using async code without blocking access to all keys.

(back to top)

Getting Started

Installation

go get github.com/MysteriousPotato/go-lockable

(back to top)

Usage

For examples, please refer to the Examples

(back to top)

Roadmap

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

About

License:MIT License


Languages

Language:Go 100.0%