executor

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor(opts *Opts) (*Executor, error)

func (*Executor) AllRequestIDs

func (e *Executor) AllRequestIDs() ([]string, error)

func (*Executor) BuildRequest

func (e *Executor) BuildRequest(id string, opts *RequestOpts) (*Request, error)

func (*Executor) Close

func (e *Executor) Close() error

func (*Executor) Execute

func (e *Executor) Execute(ctx context.Context, req *Request) (*http.Response, error)

func (*Executor) LoadFiles

func (e *Executor) LoadFiles() error

type Opts

type Opts struct {
	Cache cache.Cache
}

type Request

type Request struct {
	HTTPRequest *http.Request
	// contains filtered or unexported fields
}

type RequestOpts

type RequestOpts struct {
	Params []string
}

Jump to

Keyboard shortcuts

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