basiccheck

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoParents     = errors.New("event has no parents")
	ErrNotInited     = errors.New("event field is not initialized")
	ErrHugeValue     = errors.New("too big value")
	ErrDoubleParents = errors.New("event has double parents")
)

Functions

This section is empty.

Types

type Checker

type Checker struct{}

func New

func New() *Checker

New validator which performs checks which don't require anything except event

func (*Checker) Validate

func (v *Checker) Validate(e dag.Event) error

Validate event

Jump to

Keyboard shortcuts

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