---
title: PurgeOptions
summary: PurgeOptions controls the behavior of the Purge function.
url: https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/cache/simple/struct.PurgeOptions/
---

**Kind:** Struct  
**Module:** [simple](https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/cache/simple/)  
**Package:** compute-sdk-go v1.11.0  
**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/cache/simple/simple.go#L138

```go
type PurgeOptions struct {
	Scope PurgeScope
}
```

PurgeOptions controls the behavior of the [Purge](https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/cache/simple/fn.Purge/) function.

## Fields

### Scope

**Type:** `PurgeScope`
