ing
This commit is contained in:
parent
966cffa755
commit
2d11df599b
|
@ -1,9 +0,0 @@
|
|||
package ping
|
||||
|
||||
import (
|
||||
ounp "git.loafle.net/overflow/util-go/net/ping"
|
||||
)
|
||||
|
||||
type PingOption struct {
|
||||
ounp.PingOption
|
||||
}
|
25
ping/ping.go
25
ping/ping.go
|
@ -1,25 +0,0 @@
|
|||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user