functions

package
v1.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	FunctionName string
	Timeout      string
	Runtime      string
	MemoryLimit  string
}

Context includes information about the function environment

type Event

type Event struct {
	Data           string
	EventID        string
	EventType      string
	EventTime      string
	EventNamespace string
	Extensions     Extension
}

Event includes information about the event source

type Extension

type Extension struct {
	Request *http.Request
	Context context.Context
}

Extension includes a reference to the Event request and its Context (to handle timeouts)

Jump to

Keyboard shortcuts

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