pinger

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Launch

func Launch(ctx context.Context, conf <-chan *configuration.Configuration)

func NewPingHTTPHandler

func NewPingHTTPHandler() func(w http.ResponseWriter, r *http.Request)

NewPingHTTPHandler returns an http handler function that reuses a single poll goroutine and http client

func Ping

func Ping(ctx context.Context, conf <-chan *configuration.Configuration)

Ping is the goroutine responsible for webpage uptime polling

Types

This section is empty.

Jump to

Keyboard shortcuts

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