validation

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Argument

type Argument interface {
	Dependency

	Arg() []byte
}

type ContextDatum

type ContextDatum interface{}

type Dependency

type Dependency interface{}

type ExecutionFailureError

type ExecutionFailureError struct {
	Reason string
}

func (*ExecutionFailureError) Error

func (e *ExecutionFailureError) Error() string

type Plugin

type Plugin interface {
	Validate(block *common.Block, namespace string, txPosition int, actionPosition int, contextData ...ContextDatum) error

	Init(dependencies ...Dependency) error
}

type PluginFactory

type PluginFactory interface {
	New() Plugin
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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