# Packages
No description provided by the author
# README
go-whosonfirst-cache
Go package for reading and writing Who's On First documents from a variety of sources.
Install
You will need to have both Go
(specifically version 1.12 or higher) and the make
programs installed on your computer. Assuming you do just type:
make tools
All of this package's dependencies are bundled with the code in the vendor
directory.
Interfaces
type Cache interface {
Name() string
Get(string) (io.ReadCloser, error)
Set(string, io.ReadCloser) (io.ReadCloser, error)
Unset(string) error
Hits() int64
Misses() int64
Evictions() int64
Size() int64
}