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