package
0.5.0
Repository: https://github.com/madbase/madnet.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewManager creates a new Manager.
NewSnapshotTask creates a new task.

# Structs

ManagerDetails contains information required for implmentation of task Manager.
SnapshotTask pushes a snapshot to Ethereum.
TaskHandlerDetails contains all the data required to implment a task.

# Interfaces

Manager describtes the basic functionality of a task Manager.
Task the interface requirements of a task.
TaskHandler required functionality of a task.

# Type aliases

TaskDoFunc is shorthand for func(context.Context) bool, which is what the Do*() task functions are -- Return value indicates if task work has completed succesfully.
TaskDoneFunc is shorthand for func() bool, which is the DoDone() type -- This is executed as a cleanup, so can't be canceled.
TaskShouldFunc is shorthand for func(context.Context) bool, which is the ShouldRetry() type.