notifier

package
v1.0.76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL