753f413c13
Sync to tip Co-authored-by: Brannon King <countprimes@gmail.com>
9 lines
227 B
Go
9 lines
227 B
Go
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
|
|
}
|