results

package
v1.1.23 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidURL indicates that the specified URL is not valid.
	ErrInvalidURL = errors.New("Invalid URL")
	// ErrInvalidRespStatus indicates that server responded with an HTTP status different than 200.
	ErrInvalidRespStatus = errors.New("Invalid response status from server")
)

Functions

This section is empty.

Types

type Client

type Client interface {
	Download(reportURL string) (report.Report, error)
}

Client represents a client to download a check results report.

func NewClient

func NewClient(logger *log.Logger) (Client, error)

NewClient builds and returns a new ReportClient.

Jump to

Keyboard shortcuts

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