apex-go
apex-go copied to clipboard
Golang runtime for Apex/Lambda.
See bottom of: http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-mode-exceptions.html
TL;DR How can it be programatically determined which releases of go-apex are compatible with which versions of https://github.com/apex/apex? ======== Is there a preferred technique for ensuring that compatible versions of...
Required for StepFunctions support https://github.com/apex/apex/issues/698
Currently, when functions return an error the error.Error() is embedded into an error type. However, when using apex with AWS Step Functions, error handling is triggered on errorType rather than...
- [ ] errors.Wrap, remove unnecessary wrapper structs etc - [ ] HTTPMethod -> Method - [ ] map -> http.Header etc
Hey, So I'm connecting to a RDS Mysql DB using golang's sql driver. I do so like this ``` func main() { db, err := sql.Open("mysql", "db_details") err = db.Ping()...
Instead of: ```go if os.Getenv("LAMBDA_FUNCTION_NAME") == "" { log.Fatal(http.ListenAndServe(":5555", h)) } else { apex.Handle(proxy.Serve(h)) } ``` Just do: ```go log.Fatal(apex.ListenAndServe(":5555", h)) ``` and let this pkg handle that
A single Lambda is only ever invoked serially, so there's no need for the concurrency support.
I saw from another issue that you can't really run these functions locally. What would it take to make that happen? Hard to beat the dev flow of: ``` go...
[MessageAttributes](https://github.com/apex/go-apex/blob/7614cf53cdd0ad152f4e38a471c08b23e0678513/sns/sns.go#L32) is defined as a `map[string]interface{}` whereas in reality is sent as a `map[string]*sns.MessageAttributeValue` as defined in the [aws-sdk package](https://github.com/aws/aws-sdk-go/blob/master/service/sns/api.go#L4005). Lots of assertions are needed to dig a value out...