plugin

package
v2.0.0-rc1.0...-2596299 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

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.

Jump to

Keyboard shortcuts

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