compatibility

package
v0.0.0-...-ac41614 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

This file provides utility functions that make backwards compatibility with original DeviceDB (written in NodeJS) easier

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeLegacySiblingSet

func DecodeLegacySiblingSet(data []byte, lww bool) (*SiblingSet, error)

func HashSiblingSet

func HashSiblingSet(key string, siblingSet *SiblingSet) Hash

func SiblingToNormalizedJSON

func SiblingToNormalizedJSON(sibling *Sibling) string

func UpgradeLegacyDatabase

func UpgradeLegacyDatabase(legacyDatabasePath string, serverConfig YAMLServerConfig) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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