Skip to content

Commit 64b80c9

Browse files
CDI-867: add new triggers to FastEdge struct
2 parents f1c7180 + e333a4a commit 64b80c9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gcore/options.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,11 @@ type FastEdgeAppConfig struct {
118118
}
119119

120120
type FastEdge struct {
121-
Enabled bool `json:"enabled"`
122-
OnRequestHeaders *FastEdgeAppConfig `json:"on_request_headers"`
121+
Enabled bool `json:"enabled"`
122+
OnRequestHeaders *FastEdgeAppConfig `json:"on_request_headers"`
123+
OnRequestBody *FastEdgeAppConfig `json:"on_request_body"`
124+
OnResponseHeaders *FastEdgeAppConfig `json:"on_response_headers"`
125+
OnResponseBody *FastEdgeAppConfig `json:"on_response_body"`
123126
}
124127

125128
type FetchCompressed struct {

0 commit comments

Comments
 (0)