lbcd/claimtrie/temporal/repo.go

10 lines
227 B
Go
Raw Normal View History

package temporal
// Repo defines APIs for Temporal to access persistence layer.
type Repo interface {
SetNodesAt(names [][]byte, heights []int32) error
NodesAt(height int32) ([][]byte, error)
Close() error
Flush() error
}