hooks

package
v2.2.4-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 5 Imported by: 51

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