From be06de5c4706c38431983432f555bc63dc2bf103 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sat, 17 Oct 2020 15:36:05 +0100 Subject: [PATCH] update api --- api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api.go b/api/api.go index 1dac89ee..b74952d0 100644 --- a/api/api.go +++ b/api/api.go @@ -21,7 +21,7 @@ type Gateway interface { // Deregister a route Deregister(*Endpoint) error // Register http handler - Handle(path string, hd http.Handler) + Handle(string, http.Handler) // Start serving requests Serve() error // Implementation of api