mirror of
https://github.com/go-ping/ping.git
synced 2025-09-12 13:14:12 +00:00
@@ -3,7 +3,7 @@ jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: circleci/golang:1.12
|
||||
working_directory: /go/src/github.com/sparrc/go-ping
|
||||
working_directory: /go/src/github.com/go-ping/ping
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
|
16
README.md
16
README.md
@@ -1,6 +1,6 @@
|
||||
# go-ping
|
||||
[](https://godoc.org/github.com/sparrc/go-ping)
|
||||
[](https://circleci.com/gh/sparrc/go-ping)
|
||||
[](https://godoc.org/github.com/go-ping/ping)
|
||||
[](https://circleci.com/gh/go-ping/ping)
|
||||
|
||||
ICMP Ping library for Go, inspired by
|
||||
[go-fastping](https://github.com/tatsushid/go-fastping)
|
||||
@@ -55,21 +55,27 @@ it calls the "receive" callback. When it's finished, it calls the "finish"
|
||||
callback.
|
||||
|
||||
For a full ping example, see
|
||||
[cmd/ping/ping.go](https://github.com/sparrc/go-ping/blob/master/cmd/ping/ping.go)
|
||||
[cmd/ping/ping.go](https://github.com/go-ping/ping/blob/master/cmd/ping/ping.go)
|
||||
|
||||
## Installation:
|
||||
|
||||
```
|
||||
go get github.com/sparrc/go-ping
|
||||
go get github.com/go-ping/ping
|
||||
```
|
||||
|
||||
To install the native Go ping executable:
|
||||
|
||||
```bash
|
||||
go get github.com/sparrc/go-ping/...
|
||||
go get github.com/go-ping/ping/...
|
||||
$GOPATH/bin/ping
|
||||
```
|
||||
|
||||
## Maintainers and Support:
|
||||
|
||||
This repo was originally in the personal account of @sparrc, but is now maintained by the [go-ping organization](https://github.com/go-ping).
|
||||
|
||||
For support and help, you usually find us in the #go-ping channel of Gophers slack. See https://invite.slack.golangbridge.org/ for an invite to the Gophers slack org.
|
||||
|
||||
## Note on Linux Support:
|
||||
|
||||
This library attempts to send an
|
||||
|
@@ -7,7 +7,7 @@ import (
|
||||
"os/signal"
|
||||
"time"
|
||||
|
||||
"github.com/sparrc/go-ping"
|
||||
"github.com/go-ping/ping"
|
||||
)
|
||||
|
||||
var usage = `
|
||||
|
Reference in New Issue
Block a user