internal/app: check transmitted ops

This simulates params to shim and this is the last step before params to shim is merged.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-10-08 19:48:04 +09:00
parent ee6c471fe6
commit e5baaf416f
11 changed files with 120 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
package app
import (
"encoding/gob"
"fmt"
"slices"
"strings"
@@ -12,6 +13,8 @@ import (
"hakurei.app/system/acl"
)
func init() { gob.Register(spFinal{}) }
// spFinal is a transitional op destined for removal after #3, #8, #9 has been resolved.
// It exists to avoid reordering the expected entries in test cases.
type spFinal struct{}