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
+2 -2
View File
@@ -12,7 +12,7 @@ import (
"github.com/tylerb/graceful"
"golang.org/x/net/context"
"github.com/jzelinskie/trakr/frontend"
"github.com/chihaya/chihaya/frontend"
)
func init() {
@@ -22,7 +22,7 @@ func init() {
var promResponseDurationMilliseconds = prometheus.NewHistogramVec(
prometheus.HistogramOpts{
Name: "trakr_http_response_duration_milliseconds",
Name: "chihaya_http_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),
},
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"net"
"net/http"
"github.com/jzelinskie/trakr/bittorrent"
"github.com/chihaya/chihaya/bittorrent"
)
// ParseAnnounce parses an bittorrent.AnnounceRequest from an http.Request.
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"github.com/jzelinskie/trakr/bittorrent"
"github.com/chihaya/chihaya/bittorrent"
)
// ErrKeyNotFound is returned when a provided key has no value associated with
+2 -2
View File
@@ -3,8 +3,8 @@ package http
import (
"net/http"
"github.com/jzelinskie/trakr/bittorrent"
"github.com/jzelinskie/trakr/frontend/http/bencode"
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/frontend/http/bencode"
)
// WriteError communicates an error to a BitTorrent client over HTTP.
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/jzelinskie/trakr/bittorrent"
"github.com/chihaya/chihaya/bittorrent"
)
func TestWriteError(t *testing.T) {