Documentation
¶
Index ¶
- func ChainFromMiddlewares(middlewares []setuppedPlugin) (chain.Chain, error)
- func ChainFromReqModifiers(reqModifiers []setuppedPlugin) (chain.Chain, error)
- func MakeOnRequestHooks(hooks []setuppedPlugin) (chain.Chain, error)
- func MakeTripperHooks(hooks []setuppedPlugin) func(http.RoundTripper) (http.RoundTripper, error)
- type PluginCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChainFromMiddlewares ¶
func ChainFromReqModifiers ¶
func MakeOnRequestHooks ¶ added in v0.0.35
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)
Click to show internal directories.
Click to hide internal directories.