Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Network.TypedProtocol.Documentation.DefaultMain
Documentation
data MainOptions Source #
Constructors
MainOptions | |
Fields |
data OutputFormat Source #
Constructors
OutputAuto | |
OutputText | |
OutputHtml | |
OutputJSON |
Instances
defaultMain :: (Codec codec, HasInfo codec (DefEnumEncoding codec), HasInfo codec Word32) => [ProtocolDescription codec] -> IO () Source #
getRenderer :: (Codec codec, HasInfo codec (DefEnumEncoding codec), HasInfo codec Word32) => OutputFormat -> Maybe FilePath -> [ProtocolDescription codec] -> String Source #