aboutsummaryrefslogtreecommitdiff
path: root/src/guff
diff options
context:
space:
mode:
Diffstat (limited to 'src/guff')
-rw-r--r--src/guff/handler.cr16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/guff/handler.cr b/src/guff/handler.cr
new file mode 100644
index 0000000..e665585
--- /dev/null
+++ b/src/guff/handler.cr
@@ -0,0 +1,16 @@
+require "http/server"
+
+module Guff
+ class Handler < ::HTTP::Handler
+ getter :model
+ getter :config
+
+ def initialize(@model : Model, @config : Config)
+ end
+
+ def call(context : HTTP::Server::Context)
+ # do nothing by default
+ call_next(context)
+ end
+ end
+end