chanutil

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2018 License: BSD-3-Clause Imports: 1 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:

json   -- corresponds to channel.JSON
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.

Jump to

Keyboard shortcuts

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