[MSP-1388]::[v] работают lock/unlock
This commit is contained in:
1 parent
626ffd29e6
commit
b4e9c9a563
8 files changed
+38
-21
No files matched your search
+4
-3
@@ -3,10 +3,11 @@ package domain
|
||||
import "time"
|
||||
|
||||
type Request struct {
|
||||
Key string
|
||||
TTL time.Duration
|
||||
Key string
|
||||
LockKey string
|
||||
TTL time.Duration
|
||||
}
|
||||
|
||||
type LockResponse struct {
|
||||
LockKey string
|
||||
LockKey string `json:"lockKey,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user