fix: serialize persistent profile mutations

This commit is contained in:
proxyctl coordinator
2026-07-17 02:18:58 +08:00
parent f9469cf6a2
commit 80ab995e2e
7 changed files with 422 additions and 85 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ type State struct {
type Store interface {
Load() (State, error)
Save(State) error
Mutate(func(State) (State, error)) (State, error)
}
func ValidateAndNormalize(input Profile) (Profile, error) {