10 lines
227 B
Go
10 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
|
||
|
}
|