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.

12 lines
202 B

  1. package page_writer
  2. import (
  3. "io"
  4. )
  5. type SaveToStorageFunc func(reader io.Reader, offset int64, size int64, cleanupFn func())
  6. type MemChunk struct {
  7. buf []byte
  8. usage *ChunkWrittenIntervalList
  9. }