aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorsangtran <tranquangsang12.7@gmail.com>2026-09-03 22:29:59 +0700
committersangtran <tranquangsang12.7@gmail.com>2026-09-03 22:29:59 +0700
commit93d5338d67b50d37b60e3fdda86be471ba20c6b2 (patch)
treedb6bdaf0b9b2bd08ba4ae6912ea1b018a230a2db /core
parent6631d8b00e8c5bafea15ea24415c5b55439193ee (diff)
signatureVerified sangtran <tranquangsang12.7@gmail.com> Key: 8DD79823D235E1BB ultimate trust
downloadflux-93d5338d67b50d37b60e3fdda86be471ba20c6b2.tar.gz
flux-93d5338d67b50d37b60e3fdda86be471ba20c6b2.zip
Verified feat: Add on pebble state backend support pebbledb
Diffstat (limited to 'core')
-rw-r--r--core/namespace.go5
-rw-r--r--core/state_backend.go2
2 files changed, 6 insertions, 1 deletions
diff --git a/core/namespace.go b/core/namespace.go
new file mode 100644
index 0000000..e505109
--- /dev/null
+++ b/core/namespace.go
@@ -0,0 +1,5 @@
1package core
2
3
4
5type VoidNamespace struct {}
diff --git a/core/state_backend.go b/core/state_backend.go
index 9f9f397..5870739 100644
--- a/core/state_backend.go
+++ b/core/state_backend.go
@@ -15,7 +15,7 @@ type StateBackend interface {
15 15
16 // For User === 16 // For User ===
17 // GetValueState will perform in disk 17 // GetValueState will perform in disk
18 GetValueState(ctx context.Context, key string) (ValueState[any], error) 18 GetValueState(ctx context.Context, statename string) (ValueState[any], error)
19} 19}
20 20
21type stateBackendKeyType struct{} 21type stateBackendKeyType struct{}