[MSP-1388]::[v] работают lock/unlock

This commit is contained in:
Leonid Nikolaev committed 2023-01-27 18:52:41 +03:00
1 parent 626ffd29e6
commit b4e9c9a563
8 files changed
+38 -21

No files matched your search

+4 -3
View File
@@ -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"`
}