{"id":27786281,"url":"https://github.com/clever/go-redis-reservation","last_synced_at":"2025-10-07T07:16:34.495Z","repository":{"id":31208264,"uuid":"34769252","full_name":"Clever/go-redis-reservation","owner":"Clever","description":"Golang library for resource reservation using Redis","archived":false,"fork":false,"pushed_at":"2025-04-24T19:16:13.000Z","size":418,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":64,"default_branch":"master","last_synced_at":"2025-04-24T20:28:36.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Clever.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,"zenodo":null}},"created_at":"2015-04-29T03:01:40.000Z","updated_at":"2024-09-23T14:59:43.000Z","dependencies_parsed_at":"2024-06-21T11:56:57.345Z","dependency_job_id":"6d3e8162-58c9-49c1-936f-cf78103f9637","html_url":"https://github.com/Clever/go-redis-reservation","commit_stats":{"total_commits":49,"total_committers":13,"mean_commits":3.769230769230769,"dds":0.6734693877551021,"last_synced_commit":"da64f19bf595f8e30ab55f3af667a97386c18281"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fgo-redis-reservation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fgo-redis-reservation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fgo-redis-reservation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fgo-redis-reservation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clever","download_url":"https://codeload.github.com/Clever/go-redis-reservation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251737796,"owners_count":21635675,"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":[],"created_at":"2025-04-30T15:58:56.946Z","updated_at":"2025-10-07T07:16:29.474Z","avatar_url":"https://github.com/Clever.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-redis-reservation\nGolang library for resource reservation using Redis\n\n## Usage\n```\n  import {\n    \"github.com/Clever/go-redis-reservation/reservation\"\n  }\n\n  manager, err := reservation.NewManager(\"my-redis-host.com:6379\", \"myWorkerName\")\n  if err != nil {\n    // Error connecting to redis\n  }\n\n  reservation, err := manager.Lock(jobName)\n  if err != nil {\n    // Reservation is already held for jobName\n  }\n\n  myWorker.DoWork()\n\n  err = reservation.Release()\n\n```\n\n## Testing\nThe tests depend on a local redis instance. Run\n```\n  redis-server \u0026\n  make test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclever%2Fgo-redis-reservation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclever%2Fgo-redis-reservation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclever%2Fgo-redis-reservation/lists"}