ceremonyclient/node/store/iterator.go
2023-09-09 18:52:04 -05:00

12 lines
179 B
Go

package store
import "google.golang.org/protobuf/proto"
type Iterator[T proto.Message] interface {
First() bool
Next() bool
Valid() bool
Value() (T, error)
Close() error
}