ceremonyclient/node/store/iterator.go

12 lines
179 B
Go
Raw Normal View History

2023-09-09 23:45:47 +00:00
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
}