From 7df25e4e8e850dc2ddbf1b7db115f19fdcf0c014 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 26 Oct 2017 00:32:56 +0900 Subject: [PATCH] ing --- adapter/http/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/http/handler.go b/adapter/http/handler.go index 0e8e2a5..0815884 100644 --- a/adapter/http/handler.go +++ b/adapter/http/handler.go @@ -11,7 +11,7 @@ type HTTPAdapter struct { } // ServeHTTP -func ServeHTTP(w http.ResponseWriter, r *http.Request) { +func (a *HTTPAdapter) ServeHTTP(w http.ResponseWriter, r *http.Request) { if r.Method != "POST" { WriteError(w, 405, "rpc: POST method required, received "+r.Method) return