package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Mar 24, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Targets []string `yaml:"targets"`
Ping struct {
Interval duration `yaml:"interval"`
Timeout duration `yaml:"timeout"`
History int `yaml:"history-size"`
Size uint16 `yaml:"payload-size"`
} `yaml:"ping"`
}
FromYAML reads YAML from reader and unmarshals it to Config.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.