policies

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterNthEpoch

func AfterNthEpoch(afterEpoch primitives.Epoch) func(epoch primitives.Epoch) bool

AfterNthEpoch runs for every epoch after the provided epoch.

func AllEpochs

func AllEpochs(_ primitives.Epoch) bool

AllEpochs runs for all epochs.

func BetweenEpochs

func BetweenEpochs(fromEpoch, toEpoch primitives.Epoch) func(primitives.Epoch) bool

BetweenEpochs runs for every epoch that is between the provided epochs.

func OnEpoch

func OnEpoch(epoch primitives.Epoch) func(primitives.Epoch) bool

OnEpoch runs only for the provided epoch.

func OnwardsNthEpoch

func OnwardsNthEpoch(onwardsEpoch primitives.Epoch) func(epoch primitives.Epoch) bool

OnwardsNthEpoch runs for every epoch from the provided epoch.

Types

This section is empty.

Jump to

Keyboard shortcuts

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