rename back to chihaya

This commit is contained in:
Jimmy Zelinskie
2016-08-16 21:42:08 -04:00
parent 040a3294b1
commit cc6614c474
17 changed files with 35 additions and 35 deletions
+4 -4
View File
@@ -13,9 +13,9 @@ import (
"github.com/prometheus/client_golang/prometheus"
"golang.org/x/net/context"
"github.com/jzelinskie/trakr/bittorrent"
"github.com/jzelinskie/trakr/frontend"
"github.com/jzelinskie/trakr/frontend/udp/bytepool"
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/frontend"
"github.com/chihaya/chihaya/frontend/udp/bytepool"
)
func init() {
@@ -25,7 +25,7 @@ func init() {
var promResponseDurationMilliseconds = prometheus.NewHistogramVec(
prometheus.HistogramOpts{
Name: "trakr_udp_response_duration_milliseconds",
Name: "chihaya_udp_response_duration_milliseconds",
Help: "The duration of time it takes to receive and write a response to an API request",
Buckets: prometheus.ExponentialBuckets(9.375, 2, 10),
},
+2 -2
View File
@@ -4,7 +4,7 @@ import (
"encoding/binary"
"net"
"github.com/jzelinskie/trakr/bittorrent"
"github.com/chihaya/chihaya/bittorrent"
)
const (
@@ -125,7 +125,7 @@ func handleOptionalParameters(packet []byte) (params bittorrent.Params, err erro
return params, errMalformedPacket
}
// TODO(jzelinskie): Actually parse the URL Data as described in BEP 41
// TODO(chihaya): Actually parse the URL Data as described in BEP 41
// into something that fulfills the bittorrent.Params interface.
optionStartIndex += 1 + length
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"io"
"time"
"github.com/jzelinskie/trakr/bittorrent"
"github.com/chihaya/chihaya/bittorrent"
)
// WriteError writes the failure reason as a null-terminated string.