diff options
author | Paul Oliver <contact@pauloliver.dev> | 2025-01-14 15:58:56 -0800 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2025-01-16 18:30:09 -0800 |
commit | 00ad7b9a1c798e611a0c0b7fcbfa5ee76c2f39c4 (patch) | |
tree | f2bcbcd0a8b2a3425b8baec668fccc62a4037ac1 /hsm-dummy-receiver/Main.hs | |
parent | cc639b06c7126fac7b445d8f778455620d7f8f50 (diff) |
Adds minimal documentation
Diffstat (limited to 'hsm-dummy-receiver/Main.hs')
-rw-r--r-- | hsm-dummy-receiver/Main.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hsm-dummy-receiver/Main.hs b/hsm-dummy-receiver/Main.hs index c0aa98a..78b343f 100644 --- a/hsm-dummy-receiver/Main.hs +++ b/hsm-dummy-receiver/Main.hs @@ -33,6 +33,9 @@ handle = S.fold S.drain . S.mapM handler handler p = localDomain "receiver" $ logInfo_ $ "Received pulse #" <> pack (show p) +-- Dummy receiver service: +-- Proof of concept. Listens for "pulses" through ZMQ and logs each time one +-- is received. main :: IO () main = launch @Env "dummy-receiver" withoutInputEcho $ \env logger level -> |