Categorygithub.com/grokify/go-awslambda
modulepackage
0.2.1
Repository: https://github.com/grokify/go-awslambda.git
Documentation: pkg.go.dev

# README

Go AWS Lambda Utils

Build Status Go Report Card Docs License

Overview

awslambda is helper package for AWS Lambda on Go.

See the docs on pkg.go.dev.

Installation

$ go get github.com/grokify/go-awslambda/...

Usage

  • NewHTTPRequest() can be used to create an *http.Request given an events.APIGatewayProxyRequest.
  • NewReaderMultipart() can be used to create an *multipart.Reader given an events.APIGatewayProxyRequest.

See the multipart example here:

examples/multipart/main.go

A description is available on Stack Overflow here:

https://stackoverflow.com/a/68496889/1908967

Contributing

Features, Issues, and Pull Requests are always welcome.

To contribute:

  1. Fork it ( http://github.com/grokify/go-awslambda/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Please report issues and feature requests on Github.

# Packages

No description provided by the author

# Functions

NewHTTPRequest returns an `*http.Request` given an `events.APIGatewayProxyRequest`.
NewReaderMultipart returns a `*multipart.Reader` given an API Gateway Proxy Request.
StandardHeader converts a AWS Lambda header to a stdlib `http.Header`.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author