crdt

package
v0.0.0-...-60c1ff8 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LWWStrat = "lww"
	NoStrat  = ""
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ObserveGUIDer

type ObserveGUIDer interface {
	ValueID(value interface{}) string
}

type Payload

type Payload map[string]*TSValue

func (Payload) Extract

func (p Payload) Extract() (interface{}, string)

func (Payload) ExtractAll

func (p Payload) ExtractAll() []interface{}

type TSValue

type TSValue struct {
	TS       int64
	Value    []byte
	MimeType string
}

type UniqueIDGUIDer

type UniqueIDGUIDer struct{}

func (UniqueIDGUIDer) ValueID

func (v UniqueIDGUIDer) ValueID(value interface{}) string

type ValueHashGUIDer

type ValueHashGUIDer struct{}

func (ValueHashGUIDer) ValueID

func (v ValueHashGUIDer) ValueID(value interface{}) string

Jump to

Keyboard shortcuts

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