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

@@ -1,7 +1,6 @@
package app
import (
"context"
"errors"
"encoders.orly/envelopes/closedenvelope"
@@ -18,7 +17,7 @@ import (
"utils.orly/pointers"
)
func (l *Listener) HandleReq(c context.Context, msg []byte) (
func (l *Listener) HandleReq(msg []byte) (
err error,
) {
var rem []byte
@@ -36,7 +35,7 @@ func (l *Listener) HandleReq(c context.Context, msg []byte) (
continue
}
}
if events, err = l.QueryEvents(c, f); chk.E(err) {
if events, err = l.QueryEvents(l.Ctx, f); chk.E(err) {
if errors.Is(err, badger.ErrDBClosed) {
return
}