{"id":23394813,"url":"https://github.com/dineshgowda24/redislock","last_synced_at":"2026-03-13T19:07:55.255Z","repository":{"id":57535118,"uuid":"283545726","full_name":"dineshgowda24/redislock","owner":"dineshgowda24","description":"🔏 Simplified distributed locking implementation using Redis ","archived":false,"fork":false,"pushed_at":"2020-07-30T14:22:28.000Z","size":58,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-23T20:11:32.469Z","etag":null,"topics":["distributedlock","go","golang","lock","redis"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dineshgowda24.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-29T16:14:42.000Z","updated_at":"2024-10-07T09:54:13.000Z","dependencies_parsed_at":"2022-09-26T18:21:52.088Z","dependency_job_id":null,"html_url":"https://github.com/dineshgowda24/redislock","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dineshgowda24/redislock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshgowda24%2Fredislock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshgowda24%2Fredislock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshgowda24%2Fredislock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshgowda24%2Fredislock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dineshgowda24","download_url":"https://codeload.github.com/dineshgowda24/redislock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshgowda24%2Fredislock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30472990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T17:15:31.527Z","status":"ssl_error","status_checked_at":"2026-03-13T17:15:22.394Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["distributedlock","go","golang","lock","redis"],"created_at":"2024-12-22T06:18:14.474Z","updated_at":"2026-03-13T19:07:55.234Z","avatar_url":"https://github.com/dineshgowda24.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redislock\n\n[![Build Status](https://travis-ci.com/dineshgowda24/redislock.svg)](https://travis-ci.com/dineshgowda24/redislock)\n[![GoDoc](https://godoc.org/github.com/dineshgowda24/redislock?status.png)](http://godoc.org/github.com/dineshgowda24/redislock)\n[![Go Report Card](https://goreportcard.com/badge/github.com/dineshgowda24/redislock)](https://goreportcard.com/report/github.com/dineshgowda24/redislock)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSimplified distributed locking implementation using [Redis](http://redis.io/topics/distlock).\nFor more information, please see examples.\n\n## Motivation\n\nI came across a concurrency issue when multiple clients were accessing single redis instance. So I wanted a primitive locking solution, but redis did not have one implemented. So started looking for open source libraries and found [redislock](https://github.com/bsm/redislock) very well written and effective library. But it still did not solve my problem as I was using [redigo](https://github.com/garyburd/redigo) client but the package used [go-redis](https://github.com/go-redis/redis). Although `redigo` had [`redsync`](https://github.com/go-redsync/redsync), I wanted a much more simpler one and so with `redislock`.\n\n## Features\n\n - Simple and easy to use interface.\n - Plug in any redis client of your choice by implementing the `RedisClient` interface.\n - Simple but effective locking for single redis instance.\n\n## Examples\n\nCheck out examples in for [`garyburd`](./examples/garyburd) and [`go-redis`](./examples/goredis) clients.\n\n## Documentation\n\nFull documentation is available on [GoDoc](http://godoc.org/github.com/dineshgowda24/redislock)\n\n## Contribution\n\nFeel free to send a PR.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdineshgowda24%2Fredislock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdineshgowda24%2Fredislock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdineshgowda24%2Fredislock/lists"}