go-rod-aws-lambda

command module
v0.0.0-...-8690ba9 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 9 Imported by: 0

README

Basic Rod implementation in AWS Lambda. Spins up a function url.

Deploy it via the AWS SAM cli:

sam build && sam deploy --guided

then test it out in the console with this Event JSON:

{
  "path": "/",
  "httpMethod": "GET",
  "queryStringParameters": {
    "url": "https://www.uber.com"
  }
}

or hit the endpoint directly:

curl <your_function_url>?url=https://www.uber.com

Feel free to open an issue with questions or a PR if we could be doing something better!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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