task

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	Name       string                 `json:"name"`
	ModuleName string                 `json:"module"`
	Params     map[string]interface{} `json:"params,omitempty"`
	Module     module.Module
	Unwrap     func() (module.Module, error)
	When       func() (bool, error)
}

func (Task) Run

func (t Task) Run() *types.Result

Jump to

Keyboard shortcuts

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