mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-27 09:05:18 +00:00
12 lines
179 B
Go
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
|
||
|
}
|