ledisdb/store/snapshot.go

17 lines
232 B
Go
Raw Normal View History

2014-08-30 13:19:10 +04:00
package store
import (
"github.com/siddontang/ledisdb/store/driver"
)
type Snapshot struct {
driver.ISnapshot
}
func (s *Snapshot) NewIterator() *Iterator {
it := new(Iterator)
it.it = s.ISnapshot.NewIterator()
return it
}