Files
simplexmq/apps/smp-server/Main.hs
2020-10-22 12:50:55 +01:00

19 lines
282 B
Haskell

module Main where
import Env.STM
import Server (runSMPServer)
cfg :: Config
cfg =
Config
{ tcpPort = "5223",
tbqSize = 16,
queueIdBytes = 12,
msgIdBytes = 6
}
main :: IO ()
main = do
putStrLn $ "Listening on port " ++ tcpPort cfg
runSMPServer cfg