Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScopePublic = Scope("PUBLIC") ScopePrivate = Scope("PRIVATE") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheControl ¶
type CacheControl struct { Version int `json:"version"` Hints []Hint `json:"hints"` // contains filtered or unexported fields }
func GetCacheControl ¶
func GetCacheControl(ctx context.Context) *CacheControl
func (*CacheControl) AddHint ¶
func (cache *CacheControl) AddHint(h Hint)
func (*CacheControl) OverallPolicy ¶
func (cache *CacheControl) OverallPolicy() OverallCachePolicy
OverallPolicy return a calculated cache policy
type Extension ¶
type Extension struct{}
func (Extension) ExtensionName ¶
func (Extension) InterceptResponse ¶
type OverallCachePolicy ¶
Click to show internal directories.
Click to hide internal directories.