mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-04-05 04:35:19 +08:00
初步实验使用KV数据库(pebble)存储缓存索引
This commit is contained in:
9
internal/utils/kvstore/item.go
Normal file
9
internal/utils/kvstore/item.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package kvstore
|
||||
|
||||
type Item[T any] struct {
|
||||
Key string
|
||||
Value T
|
||||
FieldKey []byte
|
||||
}
|
||||
Reference in New Issue
Block a user