wptfyi

package
v0.0.0-...-6c51396 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

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

HTTPClient is a client that communicates with the HTTP API for wpt.fyi.

func NewHTTPClient

func NewHTTPClient(hostname string) HTTPClient

NewHTTPClient returns a HTTPClient that is used to communicate with wpt.fyi.

func (HTTPClient) GetRuns

func (w HTTPClient) GetRuns(
	_ context.Context,
	from time.Time,
	pageSize int,
	browserName string,
	channelName string,
) (shared.TestRuns, error)

Jump to

Keyboard shortcuts

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