hooks

package
v0.0.0-...-78af6d6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Drivers map[string]Driver

Functions

func RegisterDrivers

func RegisterDrivers(Management *config.ScaledContext)

Types

type Driver

type Driver interface {
	Execute(req *http.Request) (int, error)
}

type WebhookHandler

type WebhookHandler struct {
}

func New

func New(management *config.ScaledContext) *WebhookHandler

func (*WebhookHandler) ServeHTTP

func (h *WebhookHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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