task

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RetryLimit = 100
View Source
var WaitTime = time.Second * 6

Functions

This section is empty.

Types

type Task

type Task struct {
	// contains filtered or unexported fields
}

func NewTask

func NewTask(cfg *config.Config, stafihubClient *stafihubClient.Client) *Task

func (*Task) CheckValidator

func (task *Task) CheckValidator(cosmosClient *cosmosClient.Client, denom string, cycleSeconds *stafiHubXRValidatorTypes.CycleSeconds) error

func (*Task) CycleCheckValidatorHandler

func (task *Task) CycleCheckValidatorHandler(cosmosClient *cosmosClient.Client, denom string, cycleSeconds *stafiHubXRValidatorTypes.CycleSeconds)

func (*Task) Start

func (task *Task) Start() error

func (*Task) Stop

func (task *Task) Stop()

Jump to

Keyboard shortcuts

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