Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEpochStartSubscriptionHandler ¶
func NewEpochStartSubscriptionHandler() *epochStartSubscriptionHandler
NewEpochStartSubscriptionHandler returns a new instance of epochStartSubscriptionHandler
Types ¶
type SubscribeFunctionHandler ¶ added in v1.0.67
type SubscribeFunctionHandler interface {
EpochStartAction(hdr data.HeaderHandler)
}
SubscribeFunctionHandler defines what a struct which contain a handler function for epoch start should do
func MakeHandlerForEpochStart ¶ added in v1.0.67
func MakeHandlerForEpochStart(funcForSubscription func(hdr data.HeaderHandler)) SubscribeFunctionHandler
MakeHandlerForEpochStart will return a struct which will satisfy the above interface
Click to show internal directories.
Click to hide internal directories.