{"id":48270912,"url":"https://github.com/no-src/redistore","last_synced_at":"2026-04-04T22:14:41.232Z","repository":{"id":173059231,"uuid":"650173863","full_name":"no-src/redistore","owner":"no-src","description":"A session store backend for gorilla/sessions using Redis.","archived":false,"fork":false,"pushed_at":"2025-09-09T05:18:57.000Z","size":101,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-09T08:19:18.205Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/no-src.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-06T13:54:57.000Z","updated_at":"2025-09-09T05:18:55.000Z","dependencies_parsed_at":"2024-02-06T01:25:05.370Z","dependency_job_id":"1a19532b-5367-48ab-89be-05b5ad030ce5","html_url":"https://github.com/no-src/redistore","commit_stats":null,"previous_names":["no-src/redistore"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/no-src/redistore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-src%2Fredistore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-src%2Fredistore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-src%2Fredistore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-src%2Fredistore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/no-src","download_url":"https://codeload.github.com/no-src/redistore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-src%2Fredistore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","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":[],"created_at":"2026-04-04T22:14:39.958Z","updated_at":"2026-04-04T22:14:41.227Z","avatar_url":"https://github.com/no-src.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redistore\n\n[![Build](https://img.shields.io/github/actions/workflow/status/no-src/redistore/go.yml?branch=main)](https://github.com/no-src/redistore/actions)\n[![License](https://img.shields.io/github/license/no-src/redistore)](https://github.com/no-src/redistore/blob/main/LICENSE)\n[![Go Reference](https://pkg.go.dev/badge/github.com/no-src/redistore.svg)](https://pkg.go.dev/github.com/no-src/redistore)\n[![Go Report Card](https://goreportcard.com/badge/github.com/no-src/redistore)](https://goreportcard.com/report/github.com/no-src/redistore)\n[![codecov](https://codecov.io/gh/no-src/redistore/branch/main/graph/badge.svg?token=pDtX3R6teh)](https://codecov.io/gh/no-src/redistore)\n[![Release](https://img.shields.io/github/v/release/no-src/redistore)](https://github.com/no-src/redistore/releases)\n\nA session store backend\nfor [gorilla/sessions](http://www.gorillatoolkit.org/pkg/sessions) - [src](https://github.com/gorilla/sessions).\n\nThe redistore project is a fork of [redistore](https://github.com/boj/redistore).\nThe purpose of this fork is to replace the [redigo](https://github.com/gomodule/redigo)\nwith [go-redis](https://github.com/redis/go-redis) as the driver of redis store.\n\n## Requirements\n\nDepends on the [go-redis](https://github.com/redis/go-redis) Redis library.\n\n## Installation\n\n```bash\ngo get -u github.com/no-src/redistore\n```\n\n## Documentation\n\nAvailable on [pkg.go.dev](https://pkg.go.dev/github.com/no-src/redistore).\n\nSee https://github.com/gorilla/sessions for full documentation on underlying interface.\n\n### Example\n\n``` go\n// Fetch new store.\nstore, err := NewRediStore(10, \"tcp\", \":6379\", \"\", []byte(\"secret-key\"))\nif err != nil {\n\tpanic(err)\n}\ndefer store.Close()\n\n// Get a session.\nsession, err = store.Get(req, \"session-key\")\nif err != nil {\n\tlog.Error(err.Error())\n}\n\n// Add a value.\nsession.Values[\"foo\"] = \"bar\"\n\n// Save.\nif err = sessions.Save(req, rsp); err != nil {\n\tt.Fatalf(\"Error saving session: %v\", err)\n}\n\n// Delete session.\nsession.Options.MaxAge = -1\nif err = sessions.Save(req, rsp); err != nil {\n\tt.Fatalf(\"Error saving session: %v\", err)\n}\n\n// Change session storage configuration for MaxAge = 10 days.\nstore.SetMaxAge(10 * 24 * 3600)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fno-src%2Fredistore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fno-src%2Fredistore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fno-src%2Fredistore/lists"}