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 ¶
ValidateID validates the public, stable rule-pack identity contract.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.