{"id":16848106,"url":"https://github.com/araddon/lruttl","last_synced_at":"2025-07-08T23:39:32.583Z","repository":{"id":9013843,"uuid":"10769058","full_name":"araddon/lruttl","owner":"araddon","description":"Go LRU Cache with time based eviction (based  on Google Vitesse Cache)","archived":false,"fork":false,"pushed_at":"2013-06-18T19:59:22.000Z","size":112,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-14T13:10:01.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/araddon.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":"2013-06-18T17:22:43.000Z","updated_at":"2016-09-07T23:15:56.000Z","dependencies_parsed_at":"2022-07-09T21:46:15.123Z","dependency_job_id":null,"html_url":"https://github.com/araddon/lruttl","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/araddon%2Flruttl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/araddon%2Flruttl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/araddon%2Flruttl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/araddon%2Flruttl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/araddon","download_url":"https://codeload.github.com/araddon/lruttl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226165759,"owners_count":17583855,"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":[],"created_at":"2024-10-13T13:10:03.337Z","updated_at":"2024-11-24T13:04:39.540Z","avatar_url":"https://github.com/araddon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nTime Evict LRU\n-------------------------\n\nThis is a modification of the Vitesse LRU to include Time Based Eviction\n\nhttp://code.google.com/p/vitess/source/browse/go/cache\n\n\nexample::\n\t\n\tl := lruttl.NewTimeEvictLru(10000, 10*time.Minute, 1*time.Second)\n\n\tl.EvictCallback = func(key string, v lruttl.Value) {\n\t\tfmt.Println(\"evicting \", key)\n\t}\n\n\tfor i := 0; i \u003c 100; i++ {\n\t\tistr := strconv.FormatInt(int64(i), 10)\n\t\tl.Set(\"key\"+istr, \u0026CacheValue{i})\n\t}\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faraddon%2Flruttl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faraddon%2Flruttl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faraddon%2Flruttl/lists"}