pluginterfaces

package
v1.3.10 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This is a deprecated version

Use instead github.com/IBM/go-security-plugs/pluginterfaces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debugf(format string, args ...interface{})
	Infof(format string, args ...interface{})
	Warnf(format string, args ...interface{})
	Errorf(format string, args ...interface{})
	Sync() error
}

This is a deprecated version

Use instead github.com/IBM/go-security-plugs/pluginterfaces

Any logger of this interface can be used by reverseproxyplugs and all connected plugs

var Log Logger

This is a deprecated version

Use instead github.com/IBM/go-security-plugs/pluginterfaces

The logger for the rtplugs and all connected plugs

type ReverseProxyPlug

type ReverseProxyPlug interface {
	Initialize()
	Shutdown()
	PlugName() string
	PlugVersion() string
	RequestHook(http.ResponseWriter, *http.Request) error
	ResponseHook(*http.Response) error
	ErrorHook(http.ResponseWriter, *http.Request, error)
}

This is a deprecated version

Use instead github.com/IBM/go-security-plugs/pluginterfaces

A plugin based on the older ReverseProxyPlug

Jump to

Keyboard shortcuts

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