Documentation ¶
Overview ¶
Package purge provides cache purging operations for Fastly Compute@Edge.
See the Fastly purge documentation for details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PurgeSurrogateKey ¶
func PurgeSurrogateKey(surrogateKey string, opts PurgeOptions) error
PurgeSurrogateKey purges all cached objects with the provided surrogate key.
Types ¶
type PurgeOptions ¶
type PurgeOptions struct { // Whether to soft purge the item. A soft purge marks a cached // object as stale, rather than invalidating it. Soft bool }
PurgeOptions control the behavior of purge operations.
Click to show internal directories.
Click to hide internal directories.