{"id":15381980,"url":"https://github.com/apinet/gcloud-redis","last_synced_at":"2026-05-12T21:14:39.520Z","repository":{"id":57639503,"uuid":"432307650","full_name":"apinet/gcloud-redis","owner":"apinet","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-08T15:09:19.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T02:24:24.239Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apinet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-11-26T21:43:41.000Z","updated_at":"2025-02-08T15:09:22.000Z","dependencies_parsed_at":"2024-10-18T05:19:11.374Z","dependency_job_id":null,"html_url":"https://github.com/apinet/gcloud-redis","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"85ae7f88d7ccf3b8d7c035890e646b5e4f3a3def"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apinet/gcloud-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apinet%2Fgcloud-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apinet%2Fgcloud-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apinet%2Fgcloud-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apinet%2Fgcloud-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apinet","download_url":"https://codeload.github.com/apinet/gcloud-redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apinet%2Fgcloud-redis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285519534,"owners_count":27185526,"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","status":"online","status_checked_at":"2025-11-20T02:00:05.334Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-01T14:29:28.194Z","updated_at":"2025-11-20T22:04:15.169Z","avatar_url":"https://github.com/apinet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcloud-redis\n\nRedis (gcloud) wrapper with mocking capabilities for golang cloud functions.\nThis package is based on redigo.\n\n## usage\n\n### initiate redis\n\n```go\nimport (\n  redis \"github.com/apinet/gcloud-redis\"\n)\n\nmaxIdle := 10\nr := redis.NewRedis(\"ip:port\", maxIdle)\n```\n\n### key operations\n\n```go\nr.SetString(\"key1\", \"a value\")\nr.Delete(\"key1\", \"key2\")\n```\n\n### Pipeline operations\n\n```go\npipe := r.Pipeline()\n\npipe.SetString(\"key1\", \"value\")\nincr := pipe.IncrBy(\"key2\", 2)\n\nif err := pipe.Exec() ; err != nil {\n  return err\n}\n\n// the incremented value after exec\nincr.Value()\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapinet%2Fgcloud-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapinet%2Fgcloud-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapinet%2Fgcloud-redis/lists"}