reorganize Protocol and Agent Store (#25)

* chore: move members from Server/Transmission.hs to Protocol.hs

* chore: revert qualified SMP import for server and client

* chore: fix corrId call

* chore: move common types to Common.hs

* chore: decompose SQLite.hs

* chore: rename Agent/Transmission.hs ErrorType -> AgentErrorType

* chore: move Protocol ErrorType -> Common SMPErrorType

* chore: rename Common -> Types

* chore: revert SMPErrorType -> ErrorType
This commit is contained in:
Efim Poberezkin
2021-01-23 17:06:01 +04:00
parent d82c286a54
commit f50da16d0a
21 changed files with 512 additions and 459 deletions
+1 -1
View File
@@ -8,8 +8,8 @@ module Simplex.Messaging.Server.MsgStore.STM where
import Data.Map.Strict (Map)
import qualified Data.Map.Strict as M
import Simplex.Messaging.Types
import Simplex.Messaging.Server.MsgStore
import Simplex.Messaging.Server.Transmission
import UnliftIO.STM
newtype MsgQueue = MsgQueue {msgQueue :: TQueue Message}