diff options
| author | sangtran <tranquangsang12.7@gmail.com> | 2026-09-03 22:29:59 +0700 |
|---|---|---|
| committer | sangtran <tranquangsang12.7@gmail.com> | 2026-09-03 22:29:59 +0700 |
| commit | 93d5338d67b50d37b60e3fdda86be471ba20c6b2 (patch) | |
| tree | db6bdaf0b9b2bd08ba4ae6912ea1b018a230a2db /core | |
| parent | 6631d8b00e8c5bafea15ea24415c5b55439193ee (diff) | |
| signature | Verified sangtran <tranquangsang12.7@gmail.com> Key: 8DD79823D235E1BB ultimate trust | |
| download | flux-93d5338d67b50d37b60e3fdda86be471ba20c6b2.tar.gz flux-93d5338d67b50d37b60e3fdda86be471ba20c6b2.zip | |
Verified feat: Add on pebble state backend support pebbledb
Diffstat (limited to 'core')
| -rw-r--r-- | core/namespace.go | 5 | ||||
| -rw-r--r-- | core/state_backend.go | 2 |
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 @@ | |||
| 1 | package core | ||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | type 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 | ||
| 21 | type stateBackendKeyType struct{} | 21 | type stateBackendKeyType struct{} |
