controller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskCtl

type TaskCtl struct {
	RetryCount int
	// contains filtered or unexported fields
}

func NewTaskCtl

func NewTaskCtl() TaskCtl

func (TaskCtl) CanRetry

func (t TaskCtl) CanRetry() bool

func (TaskCtl) GetError

func (t TaskCtl) GetError() error

func (*TaskCtl) Retry

func (t *TaskCtl) Retry(err error)

func (*TaskCtl) SetError

func (t *TaskCtl) SetError(err error)

func (*TaskCtl) SetRetryCount

func (t *TaskCtl) SetRetryCount(c int)

Jump to

Keyboard shortcuts

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