]> git.lizzy.rs Git - go-anidb.git/commit
Convert cache system to github.com/Kovensky/go-fscache
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Tue, 16 Jul 2013 22:47:39 +0000 (19:47 -0300)
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Tue, 16 Jul 2013 22:47:39 +0000 (19:47 -0300)
commita5f59e06d99e0f95c10c6e03b8270d35edf56ca6
tree49d0eb2a013c64d11a01b1a420bb36a572d57a56
parentf6364c70d33cb8ce456d4bdd79b2bdf1f0031c00
Convert cache system to github.com/Kovensky/go-fscache

Includes wrapper methods that keep the Cached timestamp more-or-less
synchronized with the cache. Internally assert that the objects that
are supposed to have embedded timestamps implement the right interface.

Changes intent map to use interface{}, as there's no reason for the
intents to have to be cacheable.
13 files changed:
animecache.go
cache.go
cache_test.go [deleted file]
episodecache.go
filecache.go
fileepcache.go
flock.go [deleted file]
flock_other.go [deleted file]
flock_windows.go [deleted file]
groupcache.go
intent.go
titlecache.go
udp.go