package
0.0.0-20210526220307-30f7cf62ba60
Repository: https://github.com/nikolo/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.