functions

package
v0.0.0-...-8cc8808 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 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 ProxyHandler

ProxyHandler declares a convenience type for the AWS gateway proxy handler function signature.

func BuildHandler

func BuildHandler(handler func(http.ResponseWriter, *http.Request)) ProxyHandler

BuildHandler wraps a net/http response handler as a ProxyHandler. This allows us to reuse a regular net/http response handler (used via net/http.HandleFunc) as an AWS Lambda function.

Directories

Path Synopsis
package snippets defines a serverless function that proxies requests/responses to/from the Go playground, for the CUE playground.
package snippets defines a serverless function that proxies requests/responses to/from the Go playground, for the CUE playground.

Jump to

Keyboard shortcuts

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