Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatEventStream ¶ added in v0.6.0
FormatEventStream formats the provided stream of server sent events to the Printer, flushing after each event.
func FormatJSON ¶
FormatJSON formats the provided raw JSON data to the Printer.
func FormatMsgPack ¶ added in v0.13.1
FormatMsgPack formats the provided raw MessagePack data to the Printer as JSON.
func FormatNDJSON ¶ added in v0.5.0
FormatNDJSON streams the provided newline-delimited JSON to the Printer, flushing every line.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.