iplugin

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChainFromMiddlewares

func ChainFromMiddlewares(middlewares []setuppedPlugin) (chain.Chain, error)

func ChainFromReqModifiers

func ChainFromReqModifiers(reqModifiers []setuppedPlugin) (chain.Chain, error)

func MakeOnRequestHooks added in v0.0.35

func MakeOnRequestHooks(hooks []setuppedPlugin) (chain.Chain, error)

func MakeTripperHooks added in v0.0.34

func MakeTripperHooks(hooks []setuppedPlugin) func(http.RoundTripper) (http.RoundTripper, error)

Types

type PluginCache added in v0.0.28

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

func NewPluginCache added in v0.0.28

func NewPluginCache(factories map[string]ika.PluginFactory) *PluginCache

func (*PluginCache) GetPlugins added in v0.0.35

func (ps *PluginCache) GetPlugins(ctx context.Context, ictx ika.InjectionContext, cfgs config.Plugins) ([]setuppedPlugin, error)

func (*PluginCache) Teardown added in v0.0.35

func (ps *PluginCache) Teardown(ctx context.Context) error

Jump to

Keyboard shortcuts

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