mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-21 07:51:28 +02:00
updated validation for middleware options
This commit is contained in:
@@ -14,9 +14,9 @@ type (
|
||||
}
|
||||
// order: set_headers -> add_headers -> hide_headers
|
||||
modifyRequestOpts struct {
|
||||
SetHeaders map[string]string `json:"setHeaders"`
|
||||
AddHeaders map[string]string `json:"addHeaders"`
|
||||
HideHeaders []string `json:"hideHeaders"`
|
||||
SetHeaders map[string]string
|
||||
AddHeaders map[string]string
|
||||
HideHeaders []string
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user