mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
9 lines
216 B
Go
9 lines
216 B
Go
package needle
|
|
|
|
type NeedleValueMap interface {
|
|
Set(key Key, offset, size uint32) (oldOffset, oldSize uint32)
|
|
Delete(key Key) uint32
|
|
Get(key Key) (*NeedleValue, bool)
|
|
Visit(visit func(NeedleValue) error) error
|
|
}
|