README.md
1Package locker is a simple package to manage named ReadWrite mutexes. These
2appear to be especially useful for synchronizing access to session based
3information in web applications.
4
5The common use case is to use the package level functions, which use a package
6level set of locks (safe to use from multiple goroutines simultaneously).
7However, you may also create a new separate set of locks.
8
9All locks are implemented with read-write mutexes. To use them like a regular
10mutex, simply ignore the RLock/RUnlock functions.
11
12
13### Installation
14
15 go get github.com/BurntSushi/locker
16
17
18### Documentation
19
20http://godoc.org/github.com/BurntSushi/locker
21
22