negroniadapter

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NegroniAdapter

type NegroniAdapter struct {
	core.RequestAccessor
	// contains filtered or unexported fields
}

func New

func (*NegroniAdapter) Proxy

Proxy receives an API Gateway proxy event, transforms it into an http.Request object, and sends it to the negroni.Negroni for routing. It returns a proxy response object generated from the http.Handler.

func (*NegroniAdapter) ProxyWithContext added in v0.3.0

ProxyWithContext receives context and an API Gateway proxy event, transforms them into an http.Request object, and sends it to the negroni.Negroni for routing. It returns a proxy response object generated from the http.ResponseWriter.

Jump to

Keyboard shortcuts

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