mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-07 10:10:32 +08:00
初步实验使用KV数据库(pebble)存储缓存索引
This commit is contained in:
10
internal/utils/kvstore/table_interface.go
Normal file
10
internal/utils/kvstore/table_interface.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package kvstore
|
||||
|
||||
type TableInterface interface {
|
||||
Name() string
|
||||
SetNamespace(namespace []byte)
|
||||
SetDB(db *DB)
|
||||
Close() error
|
||||
}
|
||||
Reference in New Issue
Block a user