codec

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidSequenceError    = errors.New("invalid sequence number in response")
	UnexpectedChecksumError = errors.New("unexpected checksum")
	NotFoundCompressorError = errors.New("not found compressor")
)

Functions

func NewClientCodec

func NewClientCodec(conn io.ReadWriteCloser,
	compressType compressor.CompressType, serializer serializer.Serializer) rpc.ClientCodec

NewClientCodec Create a new client codec

func NewServerCodec

func NewServerCodec(conn io.ReadWriteCloser, serializer serializer.Serializer) rpc.ServerCodec

NewServerCodec Create a new server codec

Types

This section is empty.

Jump to

Keyboard shortcuts

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