functions

package
Version: v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Apache-2.0 Imports: 2 Imported by: 5

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
	Response http.ResponseWriter
	Context  context.Context
}

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

Source Files

Jump to

Keyboard shortcuts

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