{"id":20051775,"url":"https://github.com/golangtoolkits/go-secure-cookies","last_synced_at":"2026-06-08T06:32:27.842Z","repository":{"id":65917319,"uuid":"601349829","full_name":"GolangToolKits/go-secure-cookies","owner":"GolangToolKits","description":"A secure cookie module for golang","archived":false,"fork":false,"pushed_at":"2023-02-26T01:36:06.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T21:07:19.340Z","etag":null,"topics":["cookie","cookies","go","golang","securecookie"],"latest_commit_sha":null,"homepage":"","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/GolangToolKits.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}},"created_at":"2023-02-13T22:01:03.000Z","updated_at":"2023-02-15T18:26:02.000Z","dependencies_parsed_at":"2023-04-26T17:17:07.786Z","dependency_job_id":null,"html_url":"https://github.com/GolangToolKits/go-secure-cookies","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GolangToolKits%2Fgo-secure-cookies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GolangToolKits%2Fgo-secure-cookies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GolangToolKits%2Fgo-secure-cookies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GolangToolKits%2Fgo-secure-cookies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GolangToolKits","download_url":"https://codeload.github.com/GolangToolKits/go-secure-cookies/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241482034,"owners_count":19969847,"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":["cookie","cookies","go","golang","securecookie"],"created_at":"2024-11-13T12:05:50.118Z","updated_at":"2026-06-08T06:32:27.836Z","avatar_url":"https://github.com/GolangToolKits.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-secure-cookies\nA secure cookie module for golang\n\n```go\n\n// securekey must be at least 16 char long\n// The key argument should be the AES key,\n// either 16, 24, or 32 bytes to select\n// AES-128, AES-192, or AES-256.\nvar key = \"dsdfs6dfs61dssdfsdfdsdsfsdsdllsd\"\ncookies, err := NewCookies(key)\n\nvar ck http.Cookie\nck.Name = \"test1\"\nck.Value = \"this-is-a-test-and-more\"\n\n//write----\nw  http.ResponseWriter\nerr := cookies.write(w, ck)\n\n\nvar name = \"test1\"\n\n//read----\nr    *http.Request\ncookieValue, err := cookies.Read(r, name)\n\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolangtoolkits%2Fgo-secure-cookies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgolangtoolkits%2Fgo-secure-cookies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolangtoolkits%2Fgo-secure-cookies/lists"}