request

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 Request

type Request struct {
	Name       string                 `json:"name"`
	Method     string                 `json:"method"`
	URL        string                 `json:"url"`
	Path       string                 `json:"path"`
	Timeout    string                 `json:"timeout"`
	ParamsURL  []string               `json:"paramsURL"`
	ParamsBody []string               `json:"paramsBody"`
	Body       map[string]interface{} `json:"body"`
}

func Read

func Read(filePath string) (*Request, error)

func (*Request) Execute

func (r *Request) Execute(ctx context.Context, client *httpclient.Client, base string, callData 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