ping

package
v0.0.0-...-7ee4457 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2016 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

func Ping(host string, args ...string) *exec.Cmd

Types

type Response

type Response struct {
	Error   string
	ICMPSeq int
	TTL     int
	Time    string
}

func Parse

func Parse(r io.Reader) ([]Response, error)

Jump to

Keyboard shortcuts

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