execcontext

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 8 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	BaseDirectory          string
	BaseRetryDelayDuration time.Duration
	ConnectTimeoutDuration time.Duration
	In                     io.Reader
	Insecure               bool
	JsonEnvelope           bool
	Logger                 *logger.LeveledLogger
	Out                    io.Writer
	RequestHeaders         []config.RequestHeader
	RequestMethod          string
	RequestWorkers         int
	ResponseBody           config.ResponseBodyType
	ResponseWorkers        int
	Retries                int
	SubdirLength           int
	ThrottlePerSecond      int
	WriteFiles             bool
}

func New

func New(conf *config.Config, in io.Reader, stderr io.Writer, stdout io.Writer) (*Context, error)

Jump to

Keyboard shortcuts

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