package core import "context" type StateBackend interface { // SetCurrentKey will perform in Memory SetCurrentKey(key string) error // GetCurrentKey will perform in Memory GetCurrentKey() string // GetValueState will perform in disk GetValueState(ctx context.Context, key string) (ValueState[any], error) }