Versions in this module Expand all Collapse all v0 v0.1.0 Aug 25, 2018 Changes in this version + func CopyResponse(resp *http.Response) *http.Response + func CreateCacheKey(req *http.Request) string + type Cache interface + Clear func() + Delete func(key string) + Get func(key string) *http.Response + Has func(key string) bool + Set func(key string, value *http.Response) + func NewNoOpCache() Cache + type GoCache struct + func NewGoCache(ttl int32, tti int32) GoCache + func (c GoCache) Clear() + func (c GoCache) Delete(key string) + func (c GoCache) Get(key string) *http.Response + func (c GoCache) Has(key string) bool + func (c GoCache) Set(key string, value *http.Response) + type NoOpCache struct + func (c NoOpCache) Clear() + func (c NoOpCache) Delete(key string) + func (c NoOpCache) Get(key string) *http.Response + func (c NoOpCache) Has(key string) bool + func (c NoOpCache) Set(key string, value *http.Response)