httpsum

package
v0.0.0-...-40b317f Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Client   HttpClient
	Parallel int
	Timeout  int
}

type HttpClient

type HttpClient interface {
	Do(req *http.Request) (*http.Response, error)
}

type HttpSum

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

func New

func New(c Config) (HttpSum, error)

func (*HttpSum) Ping

func (h *HttpSum) Ping(sites []string) error

Jump to

Keyboard shortcuts

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