package
5.10.0
Repository: https://github.com/splitio/split-synchronizer.git
Documentation: pkg.go.dev

# Functions

Decode decode a byte slice and returns the Snapshot object.
DecodeFromFile decodes a snapshot file from a given path.
New returns an instance of Snapshot object with the parameter set.

# Constants

Snapshot type constants.

# Variables

ErrEncMetadata represents an error when encoding snapshot metadata.
ErrMetadataRead represents an error when metadata cannot be decoded.
ErrMetadataSizeRead represents an error when reading the metadata size.
ErrNonexistantFile represents an error when the snapshot passed in to be decoded is missing.
ErrSnapshotSize represents an error when reading the snapshot size.

# Structs

Metadata represents the Snapshot metadata object.
Snapshot represents a snapshot struct with metadata and data.