data

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const TimeoutNotSet = -1

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendInput added in v1.4.0

type BackendInput struct {
	Host    *url.URL
	Body    []string
	Method  string
	Headers []string

	Backend        string
	BackendOptions [][]string

	PrintCommand  bool
	LeaveTempFile bool

	TempFileName string
}

func (*BackendInput) CreateBodyTempFile added in v1.5.0

func (bi *BackendInput) CreateBodyTempFile() error

func (*BackendInput) RemoveBodyTempFile added in v1.5.0

func (bi *BackendInput) RemoveBodyTempFile(forceDeletion bool) error

type BackendOutput added in v1.5.0

type BackendOutput struct {
	Stderr   string
	Stdout   string
	ExitCode int
}

type Config

type Config struct {
	Timeout    int32
	QueryDelim *string
}

func NewConfig added in v1.4.0

func NewConfig() Config

type TimeoutContextValueKey added in v1.4.0

type TimeoutContextValueKey struct{}

Jump to

Keyboard shortcuts

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