{"id":22447369,"url":"https://github.com/june-it/mystack.distributedlock4redis","last_synced_at":"2025-03-27T11:26:36.079Z","repository":{"id":211537606,"uuid":"729399098","full_name":"june-it/MyStack.DistributedLock4Redis","owner":"june-it","description":"Open-source Lightweight Distributed Lock Library (Based on Redis)","archived":false,"fork":false,"pushed_at":"2025-03-18T10:15:15.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T11:29:51.794Z","etag":null,"topics":["distributedlock","dotnet","mystack","redis"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/june-it.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-09T05:24:41.000Z","updated_at":"2024-12-18T03:12:26.000Z","dependencies_parsed_at":"2024-12-18T04:19:06.386Z","dependency_job_id":"49d7827a-0b6c-45c9-9f49-9bda8d180142","html_url":"https://github.com/june-it/MyStack.DistributedLock4Redis","commit_stats":null,"previous_names":["june-it/mystack.distributedlocking","june-it/mystack.distributedlock4redis"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/june-it%2FMyStack.DistributedLock4Redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/june-it%2FMyStack.DistributedLock4Redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/june-it%2FMyStack.DistributedLock4Redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/june-it%2FMyStack.DistributedLock4Redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/june-it","download_url":"https://codeload.github.com/june-it/MyStack.DistributedLock4Redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245834784,"owners_count":20680079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","dotnet","mystack","redis"],"created_at":"2024-12-06T04:16:17.901Z","updated_at":"2025-03-27T11:26:36.052Z","avatar_url":"https://github.com/june-it.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyStack.DistributedLock4Redis\n\nOpen-source Lightweight Distributed Lock Library (Based on Redis)\n\n| nuget      | stats |\n| ----------- | ----------- |\n| [![nuget](https://img.shields.io/nuget/v/MyStack.DistributedLock4Redis.svg?style=flat-square)](https://www.nuget.org/packages/MyStack.DistributedLock4Redis)       |  [![stats](https://img.shields.io/nuget/dt/MyStack.DistributedLock4Redis.svg?style=flat-square)](https://www.nuget.org/stats/packages/MyStack.DistributedLock4Redis?groupby=Version)        |\n\n# Getting Started\n\n## Add Service Support\n\n```\nservices.AddDistributedLock4Redis(configure =\u003e\n{\n   configure.KeyPrefix = \"MyStack\";\n   configure.ConnectionString = \"127.0.0.1:6379,password=123456\";\n});\n```\n\n## Using Distributed Locks\n\n```\n// Acquire Lock\nusing (var handle = await distributedLock.TryAcquireAsync(\"Foo\"))\n{\n    if (handle != null)\n    {\n        // Write your logical code\n    }\n}\n```\n\n# License \nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjune-it%2Fmystack.distributedlock4redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjune-it%2Fmystack.distributedlock4redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjune-it%2Fmystack.distributedlock4redis/lists"}