{"id":38710844,"url":"https://github.com/heidsoft/redistore","last_synced_at":"2026-01-17T11:00:02.092Z","repository":{"id":57627333,"uuid":"403095156","full_name":"heidsoft/redistore","owner":"heidsoft","description":"redistore","archived":false,"fork":false,"pushed_at":"2021-09-04T16:08:47.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-15T00:43:13.868Z","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/heidsoft.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}},"created_at":"2021-09-04T15:44:45.000Z","updated_at":"2021-09-04T15:45:21.000Z","dependencies_parsed_at":"2022-09-26T20:11:41.826Z","dependency_job_id":null,"html_url":"https://github.com/heidsoft/redistore","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/heidsoft/redistore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heidsoft%2Fredistore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heidsoft%2Fredistore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heidsoft%2Fredistore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heidsoft%2Fredistore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heidsoft","download_url":"https://codeload.github.com/heidsoft/redistore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heidsoft%2Fredistore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28506593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-01-17T11:00:02.002Z","updated_at":"2026-01-17T11:00:02.087Z","avatar_url":"https://github.com/heidsoft.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redistore\n\n[![GoDoc](https://godoc.org/github.com/boj/redistore?status.svg)](https://godoc.org/github.com/boj/redistore)\n[![Build Status](https://travis-ci.org/boj/redistore.svg?branch=master)](https://travis-ci.org/boj/redistore)\n\nA session store backend for [gorilla/sessions](http://www.gorillatoolkit.org/pkg/sessions) - [src](https://github.com/gorilla/sessions).\n\n## Requirements\n\nDepends on the [Redigo](https://github.com/gomodule/redigo) Redis library.\n\n## Installation\n\n    go get gopkg.in/boj/redistore.v1\n\n## Documentation\n\nAvailable on [godoc.org](http://www.godoc.org/gopkg.in/boj/redistore.v1).\n\nSee http://www.gorillatoolkit.org/pkg/sessions for full documentation on underlying interface.\n\n### Example\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%2Fheidsoft%2Fredistore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheidsoft%2Fredistore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheidsoft%2Fredistore/lists"}