task

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 8 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"`
	PreviousData   []string `json:"previousData"`
	NextData       []string `json:"nextData"`
	ExpectedStatus int      `json:"expectedStatus"`
	NameRequest    string   `json:"request"`
	Request        *request.Request
}

func Read

func Read(filePath string, requests map[string]*request.Request) (*Task, error)

func (*Task) Execute

func (t *Task) Execute(ctx context.Context, client *httpclient.Client, base string, previousData map[string]interface{}) (map[string]interface{}, int, time.Duration, error)

Jump to

Keyboard shortcuts

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