You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
216 B

  1. package needle
  2. type NeedleValueMap interface {
  3. Set(key Key, offset, size uint32) (oldOffset, oldSize uint32)
  4. Delete(key Key) uint32
  5. Get(key Key) (*NeedleValue, bool)
  6. Visit(visit func(NeedleValue) error) error
  7. }