checks

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 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,
) []api.CLICommandResult

func InterpolateVariables added in v1.11.1

func InterpolateVariables(template string, vars map[string]string) string

Types

type HttpTestResult

type HttpTestResult struct {
	Err            string      `json:"-"`
	RequestHeaders http.Header `json:"-"`
	StatusCode     int
	Headers        map[string]string
	BodyString     string
	Variables      map[string]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