From c96d07efa0033a1f7c5dcb33f4e8ef993d9dddb7 Mon Sep 17 00:00:00 2001 From: Jens Nolte <git@queezle.net> Date: Sun, 11 Jul 2021 23:42:12 +0200 Subject: [PATCH] Add explicit export list --- src/Quasar/Network.hs | 55 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/src/Quasar/Network.hs b/src/Quasar/Network.hs index 64ca1aa..3f938a7 100644 --- a/src/Quasar/Network.hs +++ b/src/Quasar/Network.hs @@ -1,4 +1,57 @@ -module Quasar.Network where +module Quasar.Network ( + -- * Rpc api definition + RpcApi, + RpcFunction, + RpcArgument, + RpcResult, + RpcStream, + rpcApi, + rpcFunction, + addArgument, + addResult, + addStream, + setFixedHandler, + makeRpc, + --makeProtocol, + --makeClient, + --makeServer, + --RpcProtocol(ProtocolRequest, ProtocolResponse), + --HasProtocolImpl + Client, + clientSend, + clientClose, + clientReportProtocolError, + + -- * Runtime + Stream, + streamSend, + streamSetHandler, + streamClose, + + -- ** Client + withClientTCP, + --newClientTCP, + withClientUnix, + --newClientUnix, + withClient, + --newClient, + + -- ** Server + Server, + Listener, + runServer, + withServer, + withLocalClient, + --newLocalClient, + listenTCP, + listenUnix, + listenOnBoundSocket, + + -- ** Test implementation + --TODO remove here + withStandaloneClient, + +) where import Control.Applicative (liftA2) import Control.Concurrent (forkFinally) -- GitLab