diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-05-11 13:40:58 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-05-11 13:40:58 +0400 |
commit | b2a81b581db7f328e0ec345104fb2fea1cae1296 (patch) | |
tree | 738da87100d190af4ee34edff603a74eb7103f45 /examples/Server.hs |
Initial commit.
Diffstat (limited to 'examples/Server.hs')
-rw-r--r-- | examples/Server.hs | 9 |
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 #-} | ||
2 | module Main (main) where | ||
3 | |||
4 | import Remote.KRPC | ||
5 | import Shared | ||
6 | |||
7 | |||
8 | main :: IO () | ||
9 | main = server 6000 [handler echoInt] | ||