Created
December 29, 2019 22:07
-
-
Save wolfeidau/3f9a1e45b808c425d5c21d178ec445d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lambda | |
import ( | |
"context" | |
"encoding/json" | |
) | |
// JSONHandler processes events in and out using Raw JSON | |
type JSONHandler func(ctx context.Context, evt json.RawMessage) (json.RawMessage, error) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment