From 84cc1e30fd5a45cf9b66da167b5a2b50b78f8cb5 Mon Sep 17 00:00:00 2001 From: Cory Schwartz Date: Tue, 7 Jun 2022 10:36:57 -0700 Subject: [PATCH] lint --- gateway/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/handler.go b/gateway/handler.go index 3d2f14da4..12dded40e 100644 --- a/gateway/handler.go +++ b/gateway/handler.go @@ -21,7 +21,7 @@ import ( type perConnLimiterKeyType string -const perConnLimiterKey = "limiter" +const perConnLimiterKey perConnLimiterKeyType = "limiter" // Handler returns a gateway http.Handler, to be mounted as-is on the server. func Handler(gwapi lapi.Gateway, api lapi.FullNode, rateLimit int64, connPerMinute int64, opts ...jsonrpc.ServerOption) (http.Handler, error) {