Documentation
¶
Index ¶
- Variables
- func CopyHeaders(src, dst http.Header)
- type ByteReadSeekCloser
- type Header
- type IoReaderToReadSeekCloser
- type ReadSeekCloser
- type Request
- type Response
- func (r *Response) DateAfter(d time.Time) bool
- func (r *Response) Expires() (time.Time, error)
- func (r *Response) HasValidators() bool
- func (r *Response) Header() http.Header
- func (r *Response) IsNonErrorStatus() bool
- func (r *Response) IsStale() bool
- func (r *Response) LastModified() time.Time
- func (r *Response) MarkStale()
- func (r *Response) Status() int
- func (r *Response) Via() string
- type Store
Constants ¶
This section is empty.
Variables ¶
View Source
var Clock = func() time.Time { return time.Now().UTC() }