crdt

package
v0.0.0-...-08533ac Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logoot

type Logoot struct {
	// contains filtered or unexported fields
}

Logoot is a CRDT string.

func NewLogoot

func NewLogoot() *Logoot

NewLogoot returns a new Logoot.

func (*Logoot) ApplyUpdate

func (l *Logoot) ApplyUpdate(u *common.Update, c *common.Change) error

ApplyUpdate applies u and populates c.

func (*Logoot) Encode

func (l *Logoot) Encode() (string, error)

Encode encodes this Logoot as needed for use in the client library.

func (*Logoot) PopulateSnapshot

func (l *Logoot) PopulateSnapshot(s *common.Snapshot) error

PopulateSnapshot populates s.

Jump to

Keyboard shortcuts

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