- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for UnlockHandler (0.09 sec)
-
cmd/lock-rest-server.go
success, err := l.ll.Lock(context.Background(), *args) if err == nil && !success { return l.makeResp(resp, errLockConflict) } return l.makeResp(resp, err) } // UnlockHandler - releases the acquired lock. func (l *lockRESTServer) UnlockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) { resp := lockRPCUnlock.NewResponse() _, err := l.ll.Unlock(context.Background(), *args)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 5.8K bytes - Viewed (0) -
internal/dsync/dsync-server_test.go
} reply, err := lh.lsrv.Lock(&args) if err == nil && !reply { err = errLockConflict } if err != nil { lh.writeErrorResponse(w, err) return } } func (lh *lockServerHandler) UnlockHandler(w http.ResponseWriter, r *http.Request) { args, err := getLockArgs(r) if err != nil { lh.writeErrorResponse(w, err) return } _, err = lh.lsrv.Unlock(&args) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 23 16:46:37 UTC 2023 - 8.3K bytes - Viewed (0)