golangruntimeeventhandler

package
v0.0.0-...-2f10389 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EventHandlers = EventHandlerRegistry{
	Registry: *registry.NewRegistry("event_handler"),
}

Functions

func Demo

func Demo(context *nuclio.Context, event nuclio.Event) (interface{}, error)

Types

type EventHandler

type EventHandler func(context *nuclio.Context, event nuclio.Event) (interface{}, error)

type EventHandlerRegistry

type EventHandlerRegistry struct {
	registry.Registry
}

func (*EventHandlerRegistry) Add

func (ehr *EventHandlerRegistry) Add(name string, eventHandler EventHandler)

Jump to

Keyboard shortcuts

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