pingo

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2019 License: MIT Imports: 3 Imported by: 0

README

Simple wrapper around ping command

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PingStats

type PingStats struct {
	Transmitted int32
	Received    int32
	Errors      int32
	Loss        int32
	Time        int32
	Min         float32
	Avg         float32
	Max         float32
	Mdev        float32
}

PingStats ping stats struct

func Ping

func Ping(host string, params ...string) (PingStats, error)

Ping a wrapper around ping command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL