Versions in this module Expand all Collapse all v0 v0.12.4 Jan 17, 2024 Changes in this version + var ErrSourceDenied = errors.New("source denied by policy") + var ErrTooManyOps = errors.New("too many operations") + type Engine struct + func NewEngine(pol []*spb.Policy) *Engine + func (e *Engine) Evaluate(ctx context.Context, op *pb.Op) (bool, error)