rulepack

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package rulepack owns the identity contract for composed rule processors: the grammar and byte bound of a rule pack's pack_id. It depends only on the public NATS KV-key contract, so services can check a pack ID without importing the rule implementation.

Index

Constants

View Source
const (
	// PackIDCharset is the exact ASCII alphabet accepted for rule-pack IDs.
	PackIDCharset = "[A-Za-z0-9_=-]"
	// MaxPackIDBytes is the largest rule-pack ID, in bytes, that ValidateID
	// accepts (rule-pack-identity spec).
	MaxPackIDBytes = 246
)

Variables

This section is empty.

Functions

func ValidateID

func ValidateID(packID string) error

ValidateID validates the public, stable rule-pack identity contract.

Types

This section is empty.

Jump to

Keyboard shortcuts

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