{"id":18402867,"url":"https://github.com/tynovsky/cachier","last_synced_at":"2025-04-12T18:30:07.017Z","repository":{"id":57607779,"uuid":"172491571","full_name":"tynovsky/cachier","owner":"tynovsky","description":"Golang cache interface","archived":false,"fork":false,"pushed_at":"2019-02-25T11:59:15.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T03:45:04.648Z","etag":null,"topics":["cache","go","golang","golang-library","interface"],"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/tynovsky.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-25T11:15:26.000Z","updated_at":"2019-06-03T05:35:50.000Z","dependencies_parsed_at":"2022-08-30T04:42:06.327Z","dependency_job_id":null,"html_url":"https://github.com/tynovsky/cachier","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/tynovsky%2Fcachier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tynovsky%2Fcachier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tynovsky%2Fcachier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tynovsky%2Fcachier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tynovsky","download_url":"https://codeload.github.com/tynovsky/cachier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248612983,"owners_count":21133413,"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","go","golang","golang-library","interface"],"created_at":"2024-11-06T02:43:46.507Z","updated_at":"2025-04-12T18:30:06.994Z","avatar_url":"https://github.com/tynovsky.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/tynovsky/cachier.svg?branch=master)](https://travis-ci.org/tynovsky/cachier)\n[![GoDoc](https://godoc.org/github.com/tynovsky/cachier?status.svg)](https://godoc.org/github.com/tynovsky/cachier)\n\n# Cachier\n\nCachier is a Go library that provides an interface for dealing with cache.\nThere is a CacheEngine interface which requires you to implement common cache\nmethods (like Get, Set, Delete, etc). When implemented, you wrap this\nCacheEngine into the Cache struct. This struct has some methods implemented\nlike GetOrCompute method (shortcut for fetching a hit or computing/writing\na miss).\n\nThere are also three implementations included:\n\n - LRUCache: a wrapper of hashicorp/golang-lru which fulfills the CacheEngine\n   interface\n\n - RedisCache: CacheEngine based on redis\n\n - CacheWithSubcache: Implementation of combination of primary cache with fast\n   L1 subcache. E.g. primary Redis cache and fast (and small) LRU subcache.\n   But any other implementations of CacheEngine can be used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftynovsky%2Fcachier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftynovsky%2Fcachier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftynovsky%2Fcachier/lists"}