pinger

package
v0.0.0-...-f170a34 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pinger

type Pinger interface {
	// Init makes any needed by implementation initialization work
	Init(urls ...string) error
	// Ping makes a ping call to the service to check it's liveness
	Ping(ctx context.Context, url string) error
}

Pinger is responsible for checking services liveness.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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