Documentation ¶
Overview ¶
Package chanutil exports helper functions for working with channels and framing defined by the github.com/Elegant996/jrpc2/channel package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Framing ¶
Framing returns a channel.Framing described by the specified name, or nil if the name is unknown. The framing types currently understood are:
header:t -- corresponds to channel.Header(t) strict:t -- corresponds to channel.StrictHeader(t) line -- corresponds to channel.Line lsp -- corresponds to channel.LSP raw -- corresponds to channel.RawJSON varint -- corresponds to channel.Varint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.