Add HandleDelete and GetSerialsFromFilter methods, integrate admin keys handling, and enhance constraints API. Include a new CLI convert tool for key translation.

This commit is contained in:
2025-09-07 13:33:25 +01:00
parent fb8593044d
commit b6ea3d5181
22 changed files with 425 additions and 63 deletions

View File

@@ -10,6 +10,7 @@ import (
"encoders.orly/text"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"utils.orly/constraints"
)
// L is the label associated with this type of codec.Envelope.
@@ -39,7 +40,7 @@ func NewFrom(id []byte, ff *filter.S) *T {
}
}
func NewWithId[V string | []byte](id V, ff *filter.S) (sub *T) {
func NewWithId[V constraints.Bytes](id V, ff *filter.S) (sub *T) {
return &T{
Subscription: []byte(id),
Filters: ff,