Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- zreVer :: Int
- newZRE :: Seq -> ZRECmd -> ZREMsg
- parseZRE :: [ByteString] -> Either String ZREMsg
- encodeZRE :: ZREMsg -> [ByteString]
- zreBeacon :: ByteString -> Port -> ByteString
- parseBeacon :: ByteString -> Either String (ByteString, Integer, UUID, Integer)
- type Name = ByteString
- type Headers = Map ByteString ByteString
- type Content = [ByteString]
- data Group
- mkGroup :: ByteString -> Group
- unGroup :: Group -> ByteString
- type Groups = Set Group
- type Seq = Int
- type GroupSeq = Int
- data ZREMsg = ZREMsg {}
- data ZRECmd
- type SymbolicGroup = Symbol
- type KnownGroup = KnownSymbol
- knownToGroup :: forall n. KnownGroup n => Group
Documentation
encodeZRE :: ZREMsg -> [ByteString] Source #
zreBeacon :: ByteString -> Port -> ByteString Source #
parseBeacon :: ByteString -> Either String (ByteString, Integer, UUID, Integer) Source #
type Name = ByteString Source #
type Headers = Map ByteString ByteString Source #
type Content = [ByteString] Source #
unGroup :: Group -> ByteString Source #
Hello Endpoint Groups GroupSeq Name Headers | |
Whisper Content | |
Shout Group Content | |
Join Group GroupSeq | |
Leave Group GroupSeq | |
Ping | |
PingOk |
type SymbolicGroup = Symbol Source #
type KnownGroup = KnownSymbol Source #
knownToGroup :: forall n. KnownGroup n => Group Source #
Convert from symbolic KnownGroup to Group.