icmp

package
v5.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Name: "icmp",
	Mode: monitors.DefaultIPSettings,

	Timeout: 16 * time.Second,
	Wait:    1 * time.Second,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Name string `config:"name"`

	Hosts []string            `config:"hosts" validate:"required"`
	Mode  monitors.IPSettings `config:",inline"`

	Timeout time.Duration `config:"timeout"`
	Wait    time.Duration `config:"wait"`
}

Jump to

Keyboard shortcuts

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