package
Version:
v0.0.0-...-018b964
Opens a new window with list of versions in this module.
Published: Sep 27, 2021
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Func(pingData []byte)
Func represents the pinging function
type Ping struct {
IP string `json:"ip"`
Recipients []string `json:"recipients"`
PingInterval string `json:"pinginterval"`
}
Ping represents data contract for pinging
type Pings struct {
Hosts []Ping `json:"hosts"`
}
Pings represents slice of hosts unmarshalled from file
Source Files
¶
Click to show internal directories.
Click to hide internal directories.