kanali: github.com/northwesternmutual/kanali/pkg/plugin Index | Files

package plugin

import "github.com/northwesternmutual/kanali/pkg/plugin"

Index

Package Files

plugin.go

type Plugin Uses

type Plugin interface {
    OnRequest(ctx context.Context, config map[string]string, w *httptest.ResponseRecorder, r *http.Request) error
    OnResponse(ctx context.Context, config map[string]string, w *httptest.ResponseRecorder, r *http.Request) error
}

Plugin is an interface that is used for every Plugin used by Kanali. If external plugins are developed, they also must conform to this interface.

Package plugin imports 3 packages (graph) and is imported by 1 packages. Updated 2018-03-31. Refresh now. Tools for package owners.