{"id":18697782,"url":"https://github.com/magicoder10/xcache","last_synced_at":"2026-01-12T06:14:43.323Z","repository":{"id":64305937,"uuid":"173677949","full_name":"magicoder10/xcache","owner":"magicoder10","description":"Convenient Golang caching library","archived":false,"fork":false,"pushed_at":"2019-03-04T19:47:17.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T23:04:31.268Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magicoder10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-04T05:14:19.000Z","updated_at":"2023-08-31T02:37:04.000Z","dependencies_parsed_at":"2023-01-15T10:30:52.770Z","dependency_job_id":null,"html_url":"https://github.com/magicoder10/xcache","commit_stats":null,"previous_names":["byliuyang/xcache","magicoder10/xcache","my-legacy-code/xcache"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/magicoder10/xcache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicoder10%2Fxcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicoder10%2Fxcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicoder10%2Fxcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicoder10%2Fxcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magicoder10","download_url":"https://codeload.github.com/magicoder10/xcache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicoder10%2Fxcache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2024-11-07T11:25:44.439Z","updated_at":"2026-01-12T06:14:43.288Z","avatar_url":"https://github.com/magicoder10.png","language":"Go","readme":"# xCache\n\nConvenient Golang caching library\n\n## Getting Started\n\n### Installation\n\n```\n$ go get github.com/byliuyang/xcache\n```\n\n### Usage\n\n```go\nimport \"github.com/byliuyang/xcache\"\n\n// Initialize buffer with length of 3 and LRU replacement policy\ncache := NewBuilder().\n\tCapacity(3).\n\tLRU().\n\tBuild()\n\ncache.Set(1, 4)\nvalue, err := cache.Get(1)\n```\n\n\n## Author\n- **Harry Liu** - *Initial work* - [byliuyang](https://github.com/byliuyang)\n\n## License\nThis library is maintained under the MIT License.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicoder10%2Fxcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagicoder10%2Fxcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicoder10%2Fxcache/lists"}