(key, identifier string)
| 22 | type Locker interface { |
| 23 | TryLock(key, identifier string) bool |
| 24 | Lock(key, identifier string) |
| 25 | LockWithContext(ctx context.Context, key, identifier string) error |
| 26 | LockedBy(key string) (string, bool) |
| 27 | Unlock(key string, remove bool) |
no outgoing calls