hydra-tui
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.TUI.RenderMessage

Synopsis

Documentation

data RenderedMessage Source #

A fully-rendered API message, ready to be turned into a LogMessage. The three representations are kept separate so the TUI can show a short summary in lists, a structured detail view, and the raw JSON when the user toggles the detail pane.

Constructors

RenderedMessage 

Fields

renderMessage :: UTCTime -> ApiMessage Tx -> RenderedMessage Source #

Render any API message into its three representations: summary, detail, raw JSON.