codecs

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GobCodec

type GobCodec struct{}

func (*GobCodec) Decode

func (j *GobCodec) Decode(b []byte) (sabuhp.Message, error)

func (*GobCodec) Encode

func (j *GobCodec) Encode(message sabuhp.Message) ([]byte, error)

type JsonCodec

type JsonCodec struct{}

func (*JsonCodec) Decode

func (j *JsonCodec) Decode(b []byte) (sabuhp.Message, error)

func (*JsonCodec) Encode

func (j *JsonCodec) Encode(message sabuhp.Message) ([]byte, error)

type MessagePackCodec

type MessagePackCodec struct{}

func (*MessagePackCodec) Decode

func (j *MessagePackCodec) Decode(b []byte) (sabuhp.Message, error)

func (*MessagePackCodec) Encode

func (j *MessagePackCodec) Encode(message sabuhp.Message) ([]byte, error)

Jump to

Keyboard shortcuts

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