ping

package
v0.0.0-...-018b964 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Func

func Func(pingData []byte)

Func represents the pinging function

Types

type Ping

type Ping struct {
	IP           string   `json:"ip"`
	Recipients   []string `json:"recipients"`
	PingInterval string   `json:"pinginterval"`
}

Ping represents data contract for pinging

type Pings

type Pings struct {
	Hosts []Ping `json:"hosts"`
}

Pings represents slice of hosts unmarshalled from file

Jump to

Keyboard shortcuts

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