MSP-1388 [v] правки после review

This commit is contained in:
Leonid Nikolaev committed 2023-01-31 17:30:34 +03:00
1 parent e2250121a1
commit b7a932bfb9
17 files changed
+221 -390

No files matched your search

+5 -5
View File
@@ -3,15 +3,15 @@ package domain
import "time"
type LockRequest struct {
Key string `json:"Key" valid:"required"`
TTL time.Duration
Key string `valid:"required"`
TTLInSec time.Duration `valid:"required"`
}
type UnLockRequest struct {
Key string `json:"Key" valid:"required"`
LockKey string
Key string `valid:"required"`
LockKey string `valid:"required"`
}
type LockResponse struct {
LockKey string `json:"lockKey,omitempty"`
LockKey string `json:",omitempty"`
}