mirror of
https://github.com/go-ping/ping.git
synced 2025-09-13 13:39:17 +00:00
@@ -3,7 +3,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.12
|
- image: circleci/golang:1.12
|
||||||
working_directory: /go/src/github.com/sparrc/go-ping
|
working_directory: /go/src/github.com/go-ping/ping
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
|
16
README.md
16
README.md
@@ -1,6 +1,6 @@
|
|||||||
# go-ping
|
# go-ping
|
||||||
[](https://godoc.org/github.com/sparrc/go-ping)
|
[](https://godoc.org/github.com/go-ping/ping)
|
||||||
[](https://circleci.com/gh/sparrc/go-ping)
|
[](https://circleci.com/gh/go-ping/ping)
|
||||||
|
|
||||||
ICMP Ping library for Go, inspired by
|
ICMP Ping library for Go, inspired by
|
||||||
[go-fastping](https://github.com/tatsushid/go-fastping)
|
[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.
|
callback.
|
||||||
|
|
||||||
For a full ping example, see
|
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:
|
## Installation:
|
||||||
|
|
||||||
```
|
```
|
||||||
go get github.com/sparrc/go-ping
|
go get github.com/go-ping/ping
|
||||||
```
|
```
|
||||||
|
|
||||||
To install the native Go ping executable:
|
To install the native Go ping executable:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get github.com/sparrc/go-ping/...
|
go get github.com/go-ping/ping/...
|
||||||
$GOPATH/bin/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:
|
## Note on Linux Support:
|
||||||
|
|
||||||
This library attempts to send an
|
This library attempts to send an
|
||||||
|
@@ -7,7 +7,7 @@ import (
|
|||||||
"os/signal"
|
"os/signal"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/sparrc/go-ping"
|
"github.com/go-ping/ping"
|
||||||
)
|
)
|
||||||
|
|
||||||
var usage = `
|
var usage = `
|
||||||
|
Reference in New Issue
Block a user