model/ping/ping.go
crusader 966cffa755 ing
2018-09-18 00:27:46 +09:00

26 lines
358 B
Go

package ping
import (
ounp "git.loafle.net/overflow/util-go/net/ping"
)
type PingResponse struct {
ounp.PingResponse
}
type PingSummary struct {
ounp.PingSummary
}
type PingResult struct {
ounp.PingResult
}
func NewPingResult() *PingResult {
r := &PingResult{}
r.Responses = make(map[int]ounp.Response, 0)
r.Summary = &PingSummary{}
return r
}