go-waku/waku/v2/timesource/timesource.go

13 lines
140 B
Go

package timesource
import (
"context"
"time"
)
type Timesource interface {
Now() time.Time
Start(ctx context.Context) error
Stop()
}