mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-11 02:35:18 +00:00
15 lines
318 B
Go
15 lines
318 B
Go
package time
|
|
|
|
import (
|
|
"source.quilibrium.com/quilibrium/monorepo/node/protobufs"
|
|
)
|
|
|
|
type TimeReel interface {
|
|
Start() error
|
|
Stop()
|
|
Insert(frame *protobufs.ClockFrame, isSync bool) error
|
|
Head() (*protobufs.ClockFrame, error)
|
|
NewFrameCh() <-chan *protobufs.ClockFrame
|
|
BadFrameCh() <-chan *protobufs.ClockFrame
|
|
}
|