plugins

package
v0.0.40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2025 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Package plugins contains built-in plugins for the ika API Gateway.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReqModifier

type ReqModifier struct {
	// contains filtered or unexported fields
}

ReqModifier is a ReqModifier that 100% accurately rewrite the request path. This includes totally preserving the original path even if some parts have been encoded.

func (*ReqModifier) ModifyRequest

func (rm *ReqModifier) ModifyRequest(r *http.Request) error

func (*ReqModifier) Name

func (*ReqModifier) Name() string

func (*ReqModifier) New

func (*ReqModifier) Setup

func (rm *ReqModifier) Setup(ctx context.Context, ictx ika.InjectionContext, config map[string]any) error

func (*ReqModifier) Teardown

func (*ReqModifier) Teardown(context.Context) error

Directories

Path Synopsis
accesslog module
basicauth module
fail2ban module
reqmodifier module
requestid module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL