Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2026 Changes in this version + const Dialect + const MetaKey + func Assign[C any](reg *state.Registry[C], name, source string, schema state.ContextSchema, ...) error + func EvalCheckedAST(checkedAST []byte, schema state.ContextSchema, entity any) (bool, error) + func EvalLowered[S comparable](node state.GuardNode[S], schema state.ContextSchema, entity any) (bool, string, error) + func GuardString[C any](reg *state.Registry[C], name, source string, schema state.ContextSchema, ...) (state.GuardNode[string], error) + func Guard[S comparable, C any](reg *state.Registry[C], name, source string, schema state.ContextSchema, ...) (state.GuardNode[S], error) + func Lower[S comparable](node state.GuardNode[S], schema state.ContextSchema) (cel.Program, string, error) + type Catalog struct + func LoadCatalog(meta map[string]any) (*Catalog, error) + func NewCatalog() *Catalog + func (c *Catalog) Entry(name string) (RichEntry, bool) + func (c *Catalog) Len() int + func (c *Catalog) Meta() map[string]any + func (c *Catalog) Names() []string + type CompiledChecked struct + func CompileChecked(checkedAST []byte, schema state.ContextSchema) (*CompiledChecked, error) + func (c *CompiledChecked) Eval(entity any) (bool, error) + type Option func(*config) + func WithCatalog(cat *Catalog) Option + func WithCostLimit(limit uint64) Option + type RichEntry struct + CheckedAST []byte + Dialect string + Source string