package
0.4.8
Repository: https://github.com/stratumn/go-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

ConfigurationFromFlags builds configuration from user-provided command-line flags.
LoadFromFile loads the validation rules from a json file.
RegisterFlags registers the command-line monitoring flags.
WrapStoreWithConfigFile wraps a store adapter with a layer of validations based on a local configuration file.

# Constants

Component name for monitoring.
DefaultFilename is the default filename for the file containing validation rules.
DefaultPluginsDirectory is the default directory where validation plugins should be stored.

# Variables

Errors used by the validation rules parsers.
Errors used by the validation rules parsers.
Errors used by the validation rules parsers.
Errors used by the validation rules parsers.

# Structs

Config contains the path of the rules JSON file and the directory where the validator scripts are located.
ProcessRules contains the validation rules that apply to a specific process.
StepRules contains the validation rules that apply to a specific step inside a given process.
StoreWithConfigFile wraps a store adapter with a layer of validations based on a local configuration file.

# Type aliases

ProcessesRules maps processes to their validation rules.