plugins

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package plugins holds the interfaces for yFuzz to interact with pluggable middleware/routes.

Index

Constants

This section is empty.

Variables

View Source
var Plugins = map[string]Plugin{
	"athenz": athenz.Plugin,
	"mtls":   mtls.Plugin,
}

Plugins lists all available plugins.

Functions

func Register

func Register(r *mux.Router, e api.EndpointDependencies)

Register adds handlers and middleware from plugins.

Types

type Plugin

type Plugin interface {
	Register(r *mux.Router, e api.EndpointDependencies)
}

Plugin is the interface used for any addons to yFuzz.

Directories

Path Synopsis
Package athenz is an authentication/authorization middleware for connecting yFuzz to Athenz (http://www.athenz.io).
Package athenz is an authentication/authorization middleware for connecting yFuzz to Athenz (http://www.athenz.io).
Package mtls is an authentication/authorization middleware for connecting yFuzz with mutual TLS.
Package mtls is an authentication/authorization middleware for connecting yFuzz with mutual TLS.

Jump to

Keyboard shortcuts

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