proto

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Serializer

type Serializer struct{}

Serializer implements pilosa.Serializer for protobufs.

func (Serializer) Marshal

func (Serializer) Marshal(m pilosa.Message) ([]byte, error)

Marshal turns pilosa messages into protobuf serialized bytes.

func (Serializer) Unmarshal

func (Serializer) Unmarshal(buf []byte, m pilosa.Message) error

Unmarshal takes byte slices and protobuf deserializes them into a pilosa Message.

Jump to

Keyboard shortcuts

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