diff --git a/gcore/options.go b/gcore/options.go index a6aa38a..fe6c425 100644 --- a/gcore/options.go +++ b/gcore/options.go @@ -11,6 +11,7 @@ type Options struct { DisableCache *DisableCache `json:"disable_cache"` DisableProxyForceRanges *DisableProxyForceRanges `json:"disable_proxy_force_ranges"` EdgeCacheSettings *EdgeCacheSettings `json:"edge_cache_settings"` + FastEdge *FastEdge `json:"fastedge"` FetchCompressed *FetchCompressed `json:"fetch_compressed"` FollowOriginRedirect *FollowOriginRedirect `json:"follow_origin_redirect"` ForceReturn *ForceReturn `json:"force_return"` @@ -104,6 +105,17 @@ type EdgeCacheSettings struct { Default string `json:"default"` } +type FastEdgeAppConfig struct { + Enabled bool `json:"enabled"` + AppID string `json:"app_id"` + InterruptOnError bool `json:"interrupt_on_error"` +} + +type FastEdge struct { + Enabled bool `json:"enabled"` + OnRequestHeaders *FastEdgeAppConfig `json:"on_request_headers"` +} + type FetchCompressed struct { Enabled bool `json:"enabled"` Value bool `json:"value"`