executor

package
v0.0.0-...-941e1e1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 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 Config

type Config struct {
	Timeout time.Duration
}

type Result

type Result struct {
	Request  resolver.ResolvedRequest
	Response *http.Response
	Body     []byte
	Duration time.Duration
}

type Session

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

func NewSession

func NewSession(config Config) (*Session, error)

func (*Session) Execute

func (s *Session) Execute(ctx context.Context, request resolver.ResolvedRequest) (Result, error)

Jump to

Keyboard shortcuts

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