actions

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionKeyWait = "ff-waiting"
)

Variables

This section is empty.

Functions

func ParseDuration

func ParseDuration(durationStr string) (time.Duration, error)

ParseDuration

Types

type Waiting

type Waiting struct {
}

Waiting action

func (*Waiting) Name

func (s *Waiting) Name() string

Name

func (*Waiting) ParameterNew

func (s *Waiting) ParameterNew() interface{}

ParameterNew

func (*Waiting) Run

func (s *Waiting) Run(ctx run.ExecuteContext, params interface{}) error

Run

type WaitingParams

type WaitingParams struct {
	// Support "d|h|m|s|ms" such as 1h mean 1hours
	WaitingTime string `json:"waitingTime"`
}

WaitingParams

Jump to

Keyboard shortcuts

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