serializer

package
v0.0.0-...-b6e1e37 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GobSerializer

type GobSerializer struct{}

func (*GobSerializer) Deserialize

func (obj *GobSerializer) Deserialize(data []byte, v *interface{}) error

func (*GobSerializer) Serialize

func (obj *GobSerializer) Serialize(any interface{}) ([]byte, error)

type Serializer

type Serializer interface {
	Serialize(interface{}) ([]byte, error)
	Deserialize([]byte, *interface{}) error
}

Jump to

Keyboard shortcuts

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