task

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: GPL-3.0 Imports: 16 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 *cosmosSdkClient.Client, denom, poolAddrStr string) error

func (*Task) CycleCheckValidatorHandler

func (task *Task) CycleCheckValidatorHandler(cosmosClient *cosmosSdkClient.Client, denom, poolAddrStr string)

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