Files
isp-lock-service/domain/locker.go
T

14 lines
183 B
Go

package domain
import "time"
type Request struct {
Key string
LockKey string
TTL time.Duration
}
type LockResponse struct {
LockKey string `json:"lockKey,omitempty"`
}