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.
Click to show internal directories.
Click to hide internal directories.