{"repo":"gookit/cache","free":true,"listed":false,"github":"https://github.com/gookit/cache","clone":"git clone https://github.com/gookit/cache.git","description":"🗃 Generic cache use and cache manage. Provide a unified usage API by packaging various commonly used drivers. Support File, Memory, Redis, Memcached and more. Go 通用的缓存使用库，通过包装各种常用的驱动，来提供统一的使用API，便于使用。","language":"Go","stars":197,"topics":["file-cache","redis-cache","memory-cache","memcached-cache","buntdb","cache-manager","custom-driver","cache","golang","redis"],"license":"MIT","category":"databases-storage","readme_excerpt":"Cache 中文说明 Generic cache use and cache manager for golang. Provide a unified usage API by packaging various commonly used drivers. All cache driver implemented the cache.Cache interface. So, You can add any custom driver. Packaged Drivers: - goredis https://github.com/go-redis/redis - redis https://github.com/gomodule/redigo - memcached https://github.com/bradfitz/gomemcache - buntdb https://github.com/tidwall/buntdb - boltdb https://github.com/etcd-io/bbolt - badger https://github.com/dgraph-io/badger - nutsdb https://github.com/xujiajun/nutsdb - goleveldb https://github.com/syndtr/goleveldb - gcache https://github.com/bluele/gcache - gocache https://github.com/patrickmn/go-cache - bigcache https://github.com/allegro/bigcache Internal: - file internal driver driver file.go - memory internal driver driver memory.go Notice: The built-in implementation is relatively simple and is not recommended for production environments; the production environment recommends using the third-party drivers listed above. GoDoc - doc on gowalker - godoc for gopkg - godoc for github Install The package supports 3 last Go versions and requires a Go version with modules support. Cache Interface All cache driver implemented the cache.Cache interface. So, You can add any custom driver. Usage With Options Gookit packages - gookit/ini Go config management, use INI files - gookit/rux Simple and fast request router for golang HTTP - gookit/gcli build CLI application, tool library, running CLI commands - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/gookit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gookit/cache/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}