chanutil

package
v0.12.1-0...-2ab8468 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 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 github.com/Elegant996/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:

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.

Jump to

Keyboard shortcuts

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