{"id":13601633,"url":"https://github.com/huntsman-li/go-cache","last_synced_at":"2025-03-21T15:50:10.572Z","repository":{"id":57482117,"uuid":"122566188","full_name":"huntsman-li/go-cache","owner":"huntsman-li","description":"This project encapsulates multiple db servers, redis、ledis、memcache、file、memory、nosql、postgresql","archived":false,"fork":false,"pushed_at":"2023-02-24T23:21:21.000Z","size":3337,"stargazers_count":151,"open_issues_count":2,"forks_count":12,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-15T08:23:20.860Z","etag":null,"topics":["cache","file","go","go-cache","ledis","memcache","memory","mysql","nodb","nosql","postgres","postgresql"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huntsman-li.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}},"created_at":"2018-02-23T03:02:01.000Z","updated_at":"2024-09-27T11:48:47.000Z","dependencies_parsed_at":"2024-01-14T05:09:14.465Z","dependency_job_id":null,"html_url":"https://github.com/huntsman-li/go-cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huntsman-li%2Fgo-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huntsman-li%2Fgo-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huntsman-li%2Fgo-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huntsman-li%2Fgo-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huntsman-li","download_url":"https://codeload.github.com/huntsman-li/go-cache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244825610,"owners_count":20516590,"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":["cache","file","go","go-cache","ledis","memcache","memory","mysql","nodb","nosql","postgres","postgresql"],"created_at":"2024-08-01T18:01:05.493Z","updated_at":"2025-03-21T15:50:10.566Z","avatar_url":"https://github.com/huntsman-li.png","language":"Go","funding_links":[],"categories":["Go","Programming Languages"],"sub_categories":["Go"],"readme":"# go-cache\nThis project encapsulates multiple db servers, redis、ledis、memcache、file、memory、nosql、postgresql\n\nexample\n```\npackage main\n\nimport (\n\t\"github.com/huntsman-li/go-cache\"\n\t_ \"github.com/huntsman-li/go-cache/redis\"\n)\n\nfunc main() {\n\tca, err := cache.Cacher(cache.Options{\n\t\tAdapter:       \"redis\",\n\t\tAdapterConfig: \"addr=127.0.0.1:6379\",\n\t\tOccupyMode:    true,\n\t})\n\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tca.Put(\"liyan\", \"cache\", 60)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuntsman-li%2Fgo-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuntsman-li%2Fgo-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuntsman-li%2Fgo-cache/lists"}