porcupine

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertOperationsToEvents

func ConvertOperationsToEvents(ops []core.Operation) ([]porcupine.Event, error)

ConvertOperationsToEvents converts core.Operations to porcupine.Event.

Types

type Checker

type Checker struct{}

Checker is a linearizability checker powered by Porcupine.

func (Checker) Check

func (Checker) Check(m core.Model, ops []core.Operation) (bool, error)

Check checks the history of operations meets liearizability or not with model. False means the history is not linearizable.

func (Checker) Name

func (Checker) Name() string

Name is the name of porcupine checker

Jump to

Keyboard shortcuts

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