Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class HasCodec a where
- encode :: a -> ByteString
- decode :: ByteString -> Either Text a
- defaultSDKAesonOptions :: String -> Options
Documentation
class HasCodec a where Source #
This class is used as a codec for all items stored in | the database as well as incoming transaction messages.
encode :: a -> ByteString Source #
Instances
defaultSDKAesonOptions :: String -> Options Source #