Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateETagFromHeader ¶
func ValidateETagFromHeader(etag string, validator *Revalidator)
Types ¶
type Revalidator ¶
type Revalidator struct { Matched bool IfNoneMatchPresent bool IfMatchPresent bool IfModifiedSincePresent bool IfUnmodifiedSincePresent bool IfUnmotModifiedSincePresent bool NeedRevalidation bool NotModified bool IfModifiedSince time.Time IfUnmodifiedSince time.Time IfNoneMatch []string IfMatch []string RequestETags []string ResponseETag string }
func ParseRequest ¶
func ParseRequest(req *http.Request) *Revalidator
Click to show internal directories.
Click to hide internal directories.