httpadapter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLogger

func SetLogger(l *slog.Logger)

func Start

func Start(port int, handler interface{})

Start starts the HTTP server on the specified port and listens for incoming requests. When a request is received, it is converted to the appropriate Lambda event type and passed to the handler function. The response from the handler function is then converted to an HTTP response and returned to the client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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