mirror of
https://github.com/harness/drone.git
synced 2025-05-07 16:32:59 +00:00
* initial work on create repository * create repository as single method call using client stream * resources handler and files * minor fix for wire dep graph
9 lines
161 B
Go
9 lines
161 B
Go
package lock
|
|
|
|
import "context"
|
|
|
|
// Locker acquires new lock based on key.
|
|
type Locker interface {
|
|
AcquireLock(ctx context.Context, key string) (*Lock, error)
|
|
}
|