hooks

package
v2.1.12-rc3+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 3, 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