summaryrefslogtreecommitdiff
path: root/examples/Server.hs
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-05-11 13:40:58 +0400
committerSam T <pxqr.sta@gmail.com>2013-05-11 13:40:58 +0400
commitb2a81b581db7f328e0ec345104fb2fea1cae1296 (patch)
tree738da87100d190af4ee34edff603a74eb7103f45 /examples/Server.hs
Initial commit.
Diffstat (limited to 'examples/Server.hs')
-rw-r--r--examples/Server.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/Server.hs b/examples/Server.hs
new file mode 100644
index 00000000..027e0453
--- /dev/null
+++ b/examples/Server.hs
@@ -0,0 +1,9 @@
1{-# LANGUAGE OverloadedStrings #-}
2module Main (main) where
3
4import Remote.KRPC
5import Shared
6
7
8main :: IO ()
9main = server 6000 [handler echoInt]