checks

package
v1.5.9 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CLICommand added in v1.3.0

func CLICommand(
	lesson api.Lesson,
	optionalPositionalArgs []string,
) []api.CLICommandResult

Types

type HttpTestResult

type HttpTestResult struct {
	Err            string      `json:"-"`
	RequestHeaders http.Header `json:"-"`
	StatusCode     int
	Headers        map[string]string
	BodyString     string
}

func HttpTest

func HttpTest(
	lesson api.Lesson,
	baseURL *string,
) (
	responses []HttpTestResult,
	finalBaseURL string,
)

Jump to

Keyboard shortcuts

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