Help us shape the future of Go! Take the 2026 Go Developer Survey

invoker

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Invoker

type Invoker struct {
	URL       *url.URL
	Files     []string
	Delay     *time.Duration
	Recursive bool
	Verbose   bool

	// PreHook allows for mutation of the outbound event before translation to
	// a to HTTP request.
	PreHook event.MutationFn
	// PostHook allows for recording of the outbound HTTP request and resulting
	// response and/or error.
	PostHook http.ResultsFn
}

func (*Invoker) Do

func (i *Invoker) Do() error

Jump to

Keyboard shortcuts

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