mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-14 04:05:17 +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
|
||
|
}
|