mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
+ Include an implementaiton of the routines specified in ADR-43 along with a demuxer and some dummy reactor code
33 lines
416 B
Go
33 lines
416 B
Go
package v2
|
|
|
|
import "time"
|
|
|
|
type testEvent struct {
|
|
msg string
|
|
time time.Time
|
|
}
|
|
|
|
type testEventTwo struct {
|
|
msg string
|
|
}
|
|
|
|
type stopEvent struct{}
|
|
type timeCheck struct {
|
|
time time.Time
|
|
}
|
|
|
|
type errEvent struct{}
|
|
|
|
type scTestEvent struct{}
|
|
|
|
type pcFinished struct{}
|
|
|
|
type routineFinished struct{}
|
|
|
|
func (rf *routineFinished) Error() string {
|
|
return "routine finished"
|
|
}
|
|
|
|
type scFull struct{}
|
|
type pcFull struct{}
|