chanutil

package
v0.0.61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package chanutil exports helper functions for working with channels and framing defined by the bitbucket.org/creachadair/jrpc2/channel package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Framing

func Framing(name string) channel.Framing

Framing returns a channel.Framing described by the specified name, or nil if the name is unknown. The framing types currently understood are:

decimal  -- corresponds to channel.Decimal
header:t -- corresponds to channel.Header(t)
json     -- corresponds to channel.JSON
line     -- corresponds to channel.Line
lsp      -- corresponds to channel.LSP
nul      -- corresponds to channel.NUL
raw      -- corresponds to channel.RawJSON
varint   -- corresponds to channel.Varint

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL