diff --git a/api/adapter.go b/api/adapter.go new file mode 100644 index 0000000..08a9959 --- /dev/null +++ b/api/adapter.go @@ -0,0 +1,6 @@ +package api + +import "net/http" + +// Adapter to encapsulate incoming requests +type Adapter func(http.HandlerFunc) http.HandlerFunc