{"id":16151214,"url":"https://github.com/stefansundin/go-lambda-gateway","last_synced_at":"2025-07-29T06:32:46.283Z","repository":{"id":57677718,"uuid":"154076726","full_name":"stefansundin/go-lambda-gateway","owner":"stefansundin","description":"Run Go lambda functions that use API Gateway locally.","archived":false,"fork":false,"pushed_at":"2024-09-02T22:07:59.000Z","size":26,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-02T18:51:44.155Z","etag":null,"topics":["api-gateway","aws","aws-lambda","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefansundin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-22T02:26:57.000Z","updated_at":"2025-01-27T04:02:01.000Z","dependencies_parsed_at":"2024-10-27T18:45:59.410Z","dependency_job_id":"11c1a837-d390-42e2-907a-4de3f1d778db","html_url":"https://github.com/stefansundin/go-lambda-gateway","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stefansundin/go-lambda-gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fgo-lambda-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fgo-lambda-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fgo-lambda-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fgo-lambda-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefansundin","download_url":"https://codeload.github.com/stefansundin/go-lambda-gateway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fgo-lambda-gateway/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267639569,"owners_count":24119780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-gateway","aws","aws-lambda","golang"],"created_at":"2024-10-10T00:55:07.294Z","updated_at":"2025-07-29T06:32:46.256Z","avatar_url":"https://github.com/stefansundin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This program is a tiny Amazon API Gateway emulator, letting you invoke Go AWS Lambda functions (running locally) over HTTP. At the moment, it proxies all requests to a single function.\n\nI'm sure there are bugs, and it's not very customizable. If you have use cases that aren't covered yet, feel free to submit pull requests!\n\nYou need to set `_LAMBDA_SERVER_PORT` when running your lambda to make it listen for requests on a port.\n\nThis project supports the HTTP API payload format, but you need to set `PAYLOAD_FORMAT_VERSION=2.0` to use it. See [examples/http-api](examples/http-api) and [the documentation](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html).\n\nDocker image available: https://hub.docker.com/r/stefansundin/go-lambda-gateway\n\nYou can also use the program without using Docker:\n\n```shell\ngo install github.com/stefansundin/go-lambda-gateway@latest\n```\n\nIf you put a TLS certificate (`.crt`) and its key (`.key`) in the current working directory then the program will automatically use them.\n\nNote: Beware of the capitalization of your headers. This program uses Go's `net/http` server, which will normalize the capitalization of your headers according to its own `CanonicalHeaderKey` function, whereas Amazon API Gateway does not manipulate the capitalization at all (but if you send the same header multiple times with different capitalization, it will use the first capitalization).\n\nYou may also be interested in [go-lambda-invoke](https://github.com/stefansundin/go-lambda-invoke).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefansundin%2Fgo-lambda-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefansundin%2Fgo-lambda-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefansundin%2Fgo-lambda-gateway/lists"}