ericyan / pingd Goto Github PK
View Code? Open in Web Editor NEWThe modern replacement for Smokeping (WIP)
License: MIT License
The modern replacement for Smokeping (WIP)
License: MIT License
Building the docker image throws an error due to not found dependencies:
# docker build .
Sending build context to Docker daemon 2.165MB
Step 1/9 : FROM golang:1.10 as builder
---> 6fd1f7edb6ab
Step 2/9 : ENV DEP_VERSION=0.4.1
---> Using cache
---> 4e50b57992ef
Step 3/9 : RUN set -x && curl -fSL -o dep "https://github.com/golang/dep/releases/download/v$DEP_VERSION/dep-linux-amd64" && echo "31144e465e52ffbc0035248a10ddea61a09bf28b00784fd3fdd9882c8cbb2315 dep" | sha256sum -c - && chmod +x dep && mv dep $GOPATH/bin/
---> Using cache
---> fa1c3d5a74bf
Step 4/9 : COPY . $GOPATH/src/github.com/ericyan/ping/
---> Using cache
---> 4e221b457a4c
Step 5/9 : WORKDIR $GOPATH/src/github.com/ericyan/ping/
---> Using cache
---> 063042d822d5
Step 6/9 : RUN set -x && dep ensure -v -vendor-only && go install ./cmd/pingd/
---> Running in 731475c38b69
+ dep ensure -v -vendor-only
(1/8) Wrote github.com/matttproud/[email protected]
(2/8) Wrote github.com/beorn7/perks@master
(3/8) Wrote github.com/prometheus/client_model@master
(4/8) Wrote github.com/prometheus/procfs@master
(5/8) Wrote github.com/prometheus/common@master
(6/8) Wrote golang.org/x/net@master
(7/8) Wrote github.com/prometheus/[email protected]
(8/8) Wrote github.com/golang/[email protected]
+ go install ./cmd/pingd/
cmd/pingd/main.go:14:2: cannot find package "github.com/ericyan/iputil" in any of:
/go/src/github.com/ericyan/ping/vendor/github.com/ericyan/iputil (vendor tree)
/usr/local/go/src/github.com/ericyan/iputil (from $GOROOT)
/go/src/github.com/ericyan/iputil (from $GOPATH)
cmd/pingd/main.go:15:2: cannot find package "github.com/ericyan/pingd/pkg/ping" in any of:
/go/src/github.com/ericyan/ping/vendor/github.com/ericyan/pingd/pkg/ping (vendor tree)
/usr/local/go/src/github.com/ericyan/pingd/pkg/ping (from $GOROOT)
/go/src/github.com/ericyan/pingd/pkg/ping (from $GOPATH)
The command '/bin/sh -c set -x && dep ensure -v -vendor-only && go install ./cmd/pingd/' returned a non-zero code: 1
panic: interface conversion: icmp.MessageBody is *icmp.DefaultMessageBody, not *icmp.Echo
goroutine 47 [running]:
github.com/ericyan/ping.parseMessage(0x67cf, 0xc42029c000, 0x3c, 0x5dc, 0x3c)
/home/eric/Workspace/src/github.com/ericyan/ping/pinger.go:50 +0xfaf
github.com/ericyan/ping.NewPinger.func1(0xc42026cba0)
/home/eric/Workspace/src/github.com/ericyan/ping/pinger.go:146 +0x231
created by github.com/ericyan/ping.NewPinger
/home/eric/Workspace/src/github.com/ericyan/ping/pinger.go:126 +0x25c
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.