tester

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 8 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(baseURL string, authProvider auth.AuthProvider) *Executor

func (*Executor) ExecuteTest

func (e *Executor) ExecuteTest(method, endpoint string, headers map[string]string, body any) (*TestResult, error)

func (*Executor) UpdateAuthProvider

func (e *Executor) UpdateAuthProvider(authProvider auth.AuthProvider)

UpdateAuthProvider updates the authentication provider

type TestResult

type TestResult struct {
	StatusCode   int
	ResponseBody string
	Duration     time.Duration
	Error        error
}

Jump to

Keyboard shortcuts

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