Versions in this module Expand all Collapse all v0 v0.0.0 Dec 20, 2023 Changes in this version + func ParseMaxAge(header string) int64 + type Entry struct + func NewEntry(duration time.Duration) *Entry + func (e *Entry) ChangeLifetime(fdur LifeChanger) + func (e *Entry) Reset(statusCode int, contentType string, body []byte, lifeChanger LifeChanger) + func (e *Entry) Response() (*Response, bool) + type LifeChanger func() time.Duration + type Response struct + func (r *Response) Body() []byte + func (r *Response) ContentType() string + func (r *Response) StatusCode() int