ing
This commit is contained in:
parent
bb3e77205c
commit
966cffa755
|
@ -15,3 +15,11 @@ type PingSummary struct {
|
||||||
type PingResult struct {
|
type PingResult struct {
|
||||||
ounp.PingResult
|
ounp.PingResult
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func NewPingResult() *PingResult {
|
||||||
|
r := &PingResult{}
|
||||||
|
r.Responses = make(map[int]ounp.Response, 0)
|
||||||
|
r.Summary = &PingSummary{}
|
||||||
|
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user