Files
2019-02-06 14:53:30 -06:00

15 lines
256 B
Go

package iface
type Step interface {
Execute()
}
type Stage interface {
AddChain(blockchain BlockchainListener)
RemoveChain(blockchain BlockchainListener)
AddStep(step Step)
RemoveStep(step Step)
AddStage(stage ...Stage)
RemoveStage(stage Stage)
}