| 3 | import "sync" |
| 4 | |
| 5 | type lockingMap struct { |
| 6 | lock *sync.RWMutex |
| 7 | keyLocker LockStore |
| 8 | data map[string]interface{} |
| 9 | checkFunc LockingMapCheckFunc |
| 10 | } |
| 11 | |
| 12 | // LockingMapCheckFunc is given a key and value interface{} and is expected |
| 13 | // to return a boolean about whether or not the given value is still valid. |
nothing calls this directly
no outgoing calls
no test coverage detected