{"id":21480794,"url":"https://github.com/essentialkaos/redy","last_synced_at":"2025-07-15T12:32:47.288Z","repository":{"id":40652287,"uuid":"134564325","full_name":"essentialkaos/redy","owner":"essentialkaos","description":"Tiny Redis client for Go","archived":false,"fork":false,"pushed_at":"2024-10-17T08:01:43.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T10:48:51.452Z","etag":null,"topics":["golang","library","redis"],"latest_commit_sha":null,"homepage":"https://kaos.sh/g/redy.v4","language":"Go","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/essentialkaos.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-23T12:11:48.000Z","updated_at":"2024-10-09T23:12:15.000Z","dependencies_parsed_at":"2024-06-20T11:12:41.225Z","dependency_job_id":"6d9bdc35-33bc-4465-86a4-b86a0fd6c957","html_url":"https://github.com/essentialkaos/redy","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fredy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fredy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fredy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fredy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/essentialkaos","download_url":"https://codeload.github.com/essentialkaos/redy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225384366,"owners_count":17465879,"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":["golang","library","redis"],"created_at":"2024-11-23T12:17:52.990Z","updated_at":"2025-07-15T12:32:47.280Z","avatar_url":"https://github.com/essentialkaos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"#readme\"\u003e\u003cimg src=\".github/images/card.svg\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://kaos.sh/g/redy.v4\"\u003e\u003cimg src=\".github/images/godoc.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://kaos.sh/w/redy/ci\"\u003e\u003cimg src=\"https://kaos.sh/w/redy/ci.svg\" alt=\"GitHub Actions CI Status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://kaos.sh/w/redy/codeql\"\u003e\u003cimg src=\"https://kaos.sh/w/redy/codeql.svg\" alt=\"GitHub Actions CodeQL Status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://kaos.sh/c/redy\"\u003e\u003cimg src=\"https://kaos.sh/c/redy.svg\" alt=\"Coverage Status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"#license\"\u003e\u003cimg src=\".github/images/license.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#usage-example\"\u003eUsage example\u003c/a\u003e • \u003ca href=\"#ci-status\"\u003eCI Status\u003c/a\u003e • \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/p\u003e\n\n\u003cbr/\u003e\n\n`redy` is a tiny Redis client based on [radix.v2](https://github.com/mediocregopher/radix.v2) code base.\n\n### Usage example\n\n```go\npackage main\n\nimport (\n  \"fmt\"\n  \"time\"\n\n  \"github.com/essentialkaos/redy/v4\"\n)\n\nfunc main() {\n  rc := redy.Client{\n    Network:     \"tcp\",\n    Addr:        \"127.0.0.1:6379\",\n    DialTimeout: 15 * time.Second,\n  }\n\n  err := rc.Connect()\n\n  if err != nil {\n    fmt.Printf(\"Connection error: %v\\n\", err)\n    return\n  }\n\n  r := rc.Cmd(\"SET\", \"ABC\", 1)\n\n  if r.Err != nil {\n    fmt.Printf(\"Command error: %v\\n\", r.Err)\n    return\n  }\n\n  r = rc.Cmd(\"GET\", \"ABC\")\n\n  if r.Err != nil {\n    fmt.Printf(\"Command error: %v\\n\", r.Err)\n    return\n  }\n\n  val, err := r.Int()\n\n  if err != nil {\n    fmt.Printf(\"Parsing error: %v\\n\", err)\n    return\n  }\n\n  fmt.Printf(\"ABC → %d\\n\", val)\n}\n```\n\n### CI Status\n\n| Branch     | Status |\n|------------|--------|\n| `master` | [![CI](https://kaos.sh/w/redy/ci.svg?branch=master)](https://kaos.sh/w/redy/ci?query=branch:master) |\n| `develop` | [![CI](https://kaos.sh/w/redy/ci.svg?branch=develop)](https://kaos.sh/w/redy/ci?query=branch:develop) |\n\n### Contributing\n\nBefore contributing to this project please read our [Contributing Guidelines](https://github.com/essentialkaos/.github/blob/master/CONTRIBUTING.md).\n\n### License\n\n[MIT](LICENSE)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://kaos.dev\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/essentialkaos/.github/refs/heads/master/images/ekgh.svg\"/\u003e\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fessentialkaos%2Fredy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fessentialkaos%2Fredy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fessentialkaos%2Fredy/lists"}