From 1caeec218fb5bfe99459018c792560678c57365f Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Wed, 28 Jun 2017 12:19:22 +0200 Subject: [PATCH] Moved middleware into own package --- {handlers => stack}/context.go | 2 +- handlers/util.go => stack/helpers.go | 2 +- {handlers => stack}/middleware.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename {handlers => stack}/context.go (99%) rename handlers/util.go => stack/helpers.go (97%) rename {handlers => stack}/middleware.go (99%) diff --git a/handlers/context.go b/stack/context.go similarity index 99% rename from handlers/context.go rename to stack/context.go index baf750d09..cd1b89302 100644 --- a/handlers/context.go +++ b/stack/context.go @@ -1,4 +1,4 @@ -package handlers +package stack import ( "bytes" diff --git a/handlers/util.go b/stack/helpers.go similarity index 97% rename from handlers/util.go rename to stack/helpers.go index 51089257a..14fd26557 100644 --- a/handlers/util.go +++ b/stack/helpers.go @@ -1,4 +1,4 @@ -package handlers +package stack import ( "github.com/tendermint/basecoin" diff --git a/handlers/middleware.go b/stack/middleware.go similarity index 99% rename from handlers/middleware.go rename to stack/middleware.go index bf46efd39..0747b849d 100644 --- a/handlers/middleware.go +++ b/stack/middleware.go @@ -1,4 +1,4 @@ -package handlers +package stack import ( "github.com/tendermint/basecoin"