package
0.0.0-20200909220000-d25ebf61613d
Repository: https://github.com/ninja-1/notionapi.git
Documentation: pkg.go.dev
# Functions
GetCacheFileNameFromURL returns name of the file in cache for this URL.
New returns a new Downloader which caches page loads on disk and can return pages from that cache.
NewDirectoryCache returns a new DirectoryCache which caches files in a directory.
Sha1OfURL returns sha1 of url.
# Structs
DirectoryCache implements disk-based Cache interface.
Downloader implements optimized (cached) downloading of pages from the server.
EventDidDownload is for logging.
EventDidReadFromCache is for logging.
EventError is for logging.
EventGotVersions is for logging.
# Interfaces
Cache describes a caching interface.