swtasks

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorColor             = color.FgRed
	WarningColor           = color.FgYellow
	UpdateDepositDataColor = color.FgHiWhite
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskLoop

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

func (*TaskLoop) Run

func (t *TaskLoop) Run() error

Run daemon

func (*TaskLoop) Stop

func (t *TaskLoop) Stop()

type UpdateDepositData

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

Update deposit data task

func NewUpdateDepositData

func NewUpdateDepositData(sp *swcommon.StakewiseServiceProvider, logger log.ColorLogger) *UpdateDepositData

Create update deposit data task

func (*UpdateDepositData) Run

func (t *UpdateDepositData) Run() error

Update deposit data

Jump to

Keyboard shortcuts

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