Versions in this module Expand all Collapse all v1 v1.0.4 Sep 29, 2024 Changes in this version + func KenginefileHeaderOp(ops *HeaderOps, field, value string, replacement *string) error + type Handler struct + Request *HeaderOps + Response *RespHeaderOps + func (Handler) KengineModule() kengine.ModuleInfo + func (h *Handler) Provision(ctx kengine.Context) error + func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request, next kenginehttp.Handler) error + func (h Handler) Validate() error + type HeaderOps struct + Add http.Header + Delete []string + Replace map[string][]Replacement + Set http.Header + func (ops *HeaderOps) Provision(_ kengine.Context) error + func (ops HeaderOps) ApplyTo(hdr http.Header, repl *kengine.Replacer) + func (ops HeaderOps) ApplyToRequest(r *http.Request) + type Replacement struct + Replace string + Search string + SearchRegexp string + type RespHeaderOps struct + Deferred bool + Require *kenginehttp.ResponseMatcher Other modules containing this package github.com/khulnasoft/kengine/v2