Categorygithub.com/StalkR/httpcache
modulepackage
1.0.0
Repository: https://github.com/stalkr/httpcache.git
Documentation: pkg.go.dev

# README

httpcache

Build Status Godoc

http RoundTripper providing persistent and volatile cache

go get github.com/StalkR/httpcache

Bugs, comments, questions: create a new issue or email [email protected].

# Packages

No description provided by the author

# Functions

NewPersistent creates an http RoundTripper with a file cache.
NewPersistentClient creates an http client with a file cache.
NewVolatile creates an http RoundTripper with a memory cache.
NewVolatileClient creates an http client with a memory cache.

# Structs

A CachedRoundTrip implements net/http RoundTripper with a cache.

# Interfaces

Cache represents the ability to cache response data from URL.