Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfraResponse ¶
type InfraResponse struct { Bridgenf string `json:"bridgenf,omitempty"` Bridgenf6 string `json:"bridgenf6,omitempty"` Ipv4Forward string `json:"ipv4Forward,omitempty"` Ipv6DefaultForwarding string `json:"ipv6DefaultForwarding,omitempty"` }
func TestInfra ¶
func TestInfra(ip *netip.Addr, work *meta.NetestWork) (*InfraResponse, error)
type NetestWorker ¶
type NetestWorker struct {
// contains filtered or unexported fields
}
func NewNetestWorker ¶
func NewNetestWorker() *NetestWorker
func (*NetestWorker) Close ¶
func (w *NetestWorker) Close(name string)
func (*NetestWorker) Work ¶
func (w *NetestWorker) Work(ip *netip.Addr, work *meta.NetestWork)
type PingResponse ¶
type PingResponse struct { Addr string `json:"addr,omitempty"` PkgSent int `json:"pkgSent,omitempty"` PkgRecv int `json:"pkgRecv,omitempty"` AvgRtt int `json:"avgRtt,omitempty"` MaxRtt int `json:"maxRtt,omitempty"` MinRtt int `json:"minRtt,omitempty"` Rtts []int `json:"rtts,omitempty"` }
func TestPing ¶
func TestPing(ip *netip.Addr, work *meta.NetestWork) (*PingResponse, error)
Click to show internal directories.
Click to hide internal directories.