From cac4b8744921c3935ace0551f3d1240eaac69c7a Mon Sep 17 00:00:00 2001 From: Edward Wilde Date: Mon, 17 Dec 2018 16:41:02 +0000 Subject: [PATCH] Adds method to Request struct Signed-off-by: Edward Wilde --- handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handler.go b/handler.go index 9b248bf..57aeb55 100644 --- a/handler.go +++ b/handler.go @@ -22,6 +22,7 @@ type Request struct { Body []byte Header http.Header QueryString string + Method string } // FunctionHandler used for a serverless Go method invocation