An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.0% on proxy.golang.org
Top 4.3% forks on proxy.golang.org

proxy.golang.org : github.com/heetch/regula

Package regula provides a rules engine implementation. Usage of this package revolves around the concept of rulesets. A ruleset can be represented as a list of rules that can be evaluated against a set of parameters given by a caller. Each rule is evaluated in order and if one matches with the given parameters it returns a result and the evaluation stops. All the rules of a ruleset always return the same type. To query and evaluate rulesets with a set of parameters, the engine must be used. An engine takes an evaluator which is responsible of evaluating rulesets on demand and return a value, the engine then parses the value into a type safe result and return it to the caller. While the evaluator is stateful and can hold rulesets in-memory, fetch them over the network or read them from a file, the engine is stateless and simply deleguates the evaluation to the evaluator.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/heetch/regula
Keywords: golang , team-boost
License: MIT
Latest release: about 6 years ago
First release: almost 8 years ago
Namespace: github.com/heetch
Stars: 57 on GitHub
Forks: 7 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 11 days ago

    Loading...
    Readme
    Loading...