20 lines
274 B
Go
20 lines
274 B
Go
|
package kvstore
|
||
|
|
||
|
import "sync"
|
||
|
|
||
|
type modJob struct {
|
||
|
Collection string
|
||
|
ID uint64
|
||
|
Store bool
|
||
|
Data []byte
|
||
|
Ready *sync.WaitGroup
|
||
|
}
|
||
|
|
||
|
type record struct {
|
||
|
SeqNum uint64
|
||
|
Collection string
|
||
|
ID uint64
|
||
|
Store bool
|
||
|
Data []byte
|
||
|
}
|