Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct { Regexp *jregexp `json:"regexp"` Value string `json:"value"` }
Rule is a mapping of regular expressions to cache-control string rules.
type Rules ¶
type Rules []Rule
Rules is a list of cache control rules.
func (Rules) HeaderValue ¶
HeaderValue returns the matching cache control rule for the given file name.
Click to show internal directories.
Click to hide internal directories.