{"id":16984881,"url":"https://github.com/nektro/go.sdrie","last_synced_at":"2025-04-12T03:24:16.447Z","repository":{"id":57523810,"uuid":"171106904","full_name":"nektro/go.sdrie","owner":"nektro","description":"An in-process key/value store for data with expiration dates in Go","archived":false,"fork":false,"pushed_at":"2020-04-07T21:10:14.000Z","size":11,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T22:51:33.320Z","etag":null,"topics":["datastore","golang","thread-safe"],"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/nektro.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":"2019-02-17T10:05:59.000Z","updated_at":"2025-01-28T03:13:56.000Z","dependencies_parsed_at":"2022-09-26T18:10:37.536Z","dependency_job_id":null,"html_url":"https://github.com/nektro/go.sdrie","commit_stats":null,"previous_names":["nektro/sdrie"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fgo.sdrie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fgo.sdrie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fgo.sdrie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fgo.sdrie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nektro","download_url":"https://codeload.github.com/nektro/go.sdrie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248511024,"owners_count":21116333,"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":["datastore","golang","thread-safe"],"created_at":"2024-10-14T02:35:05.769Z","updated_at":"2025-04-12T03:24:16.420Z","avatar_url":"https://github.com/nektro.png","language":"Go","funding_links":["https://paypal.me/nektro"],"categories":[],"sub_categories":[],"readme":"# sdrie\n![loc](https://sloc.xyz/github/nektro/go.sdrie)\n[![license](https://img.shields.io/github/license/nektro/go.sdrie.svg)](https://github.com/nektro/go.sdrie/blob/master/LICENSE)\n[![discord](https://img.shields.io/discord/551971034593755159.svg?logo=discord)](https://discord.gg/P6Y4zQC)\n[![paypal](https://img.shields.io/badge/donate-paypal-009cdf?logo=paypal)](https://paypal.me/nektro)\n[![goreportcard](https://goreportcard.com/badge/github.com/nektro/go.sdrie)](https://goreportcard.com/report/github.com/nektro/go.sdrie)\n\nAn in-process key/value store for data with expiration dates in Go\n\n## Installing\n```\n$ go get -u github.com/nektro/sdrie\n```\n\n## Usage\n### `sdrie.New`\n- `New() SdrieDataStore`\n- `New` returns a new instance of a `SdrieDataStore`.\n\n### `SdrieDataStore.Set`\n- `Set(key string, value string, lifespan time.Duration)`\n- `Set` adds `value` to the data store associated to `key` and will survive for `lifespan` seconds.\n\n### `SdrieDataStore.Get`\n- `Get(key string) interface{}`\n- `Get` retrieves the value associated to `key`, or `nil` otherwise.\n\n### `SdrieDataStore.Has`\n- `Has(key string) bool`\n- `Has` returns a `bool` based on whether or not `key` exists in the data store. \n\n## Contributing\nWe take issues all the time right here on GitHub. We use labels extensively to show the progress through the fixing process. Question issues are okay but make sure to close the issue when it's been answered!\n\n[![issues](https://img.shields.io/github/issues/nektro/sdrie.svg)](https://github.com/nektro/sdrie/issues)\n\nWhen making a pull request, please have it be associated with an issue and make a comment on the issue saying that you're working on it so everyone else knows what's going on :D\n\n[![pulls](https://img.shields.io/github/issues-pr/nektro/sdrie.svg)](https://github.com/nektro/sdrie/pulls)\n\n## Contact\n- hello@nektro.net\n- Meghan#2032 on discordapp.com\n- @nektro on [twitter.com](https://twitter.com/nektro)\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnektro%2Fgo.sdrie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnektro%2Fgo.sdrie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnektro%2Fgo.sdrie/lists"}