Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for formatUUID (0.17 sec)

  1. cmd/local-locker.go

    				TimeLastRefresh: UTCNow(),
    				Group:           len(args.Resources) > 1,
    				Quorum:          args.Quorum,
    				idx:             i,
    			},
    		}
    		l.lockUID[formatUUID(args.UID, i)] = resource
    	}
    	return true, nil
    }
    
    func formatUUID(s string, idx int) string {
    	return s + strconv.Itoa(idx)
    }
    
    func (l *localLocker) Unlock(_ context.Context, args dsync.LockArgs) (reply bool, err error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top