MSP-1388 [v] правки после review
This commit is contained in:
1 parent
e2250121a1
commit
b7a932bfb9
17 files changed
+221
-390
No files matched your search
+5
-5
@@ -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"`
|
||||
}
|
||||
Reference in new issue
Block a user