lambda

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpServer

func NewHttpServer() httpserver.Runner

NewHttpServer returns an httpserver.Runner for AWS Lambda deployments.

Example

ExampleNewHttpServer shows how to create a Lambda runner. Import this sub-package only for Lambda deployments; it pulls in the AWS SDK. For plain HTTP/HTTPS servers use the parent httpserver package instead.

package main

import (
	"fmt"

	lambdarunner "github.com/phcp-tech/common-library-golang/httpserver/lambda"
)

func main() {
	runner := lambdarunner.NewHttpServer()
	fmt.Println(runner != nil)
}
Output:
true

Types

This section is empty.

Jump to

Keyboard shortcuts

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