Versions in this module Expand all Collapse all v12 v12.1.9 Aug 12, 2022 Changes in this version + func CopyHeaders(dst map[string][]string, src map[string][]string) + func ParseMaxAge(header string) int64 + type Entry struct + LastModified time.Time + func NewEntry(duration time.Duration) *Entry + func (e *Entry) ChangeLifetime(fdur LifeChanger) + func (e *Entry) Reset(statusCode int, headers map[string][]string, body []byte, ...) + func (e *Entry) Response() (*Response, bool) + type LifeChanger func() time.Duration + type Response struct + func (r *Response) Body() []byte + func (r *Response) Headers() http.Header + func (r *Response) StatusCode() int