Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@wolfeidau
Created December 29, 2019 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wolfeidau/3f9a1e45b808c425d5c21d178ec445d1 to your computer and use it in GitHub Desktop.
Save wolfeidau/3f9a1e45b808c425d5c21d178ec445d1 to your computer and use it in GitHub Desktop.
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