Rename to MoChi

This commit is contained in:
Lawrence, Rendall
2021-12-21 15:07:11 +03:00
parent 5a1ac73a3d
commit 4dbbb4ad83
72 changed files with 185 additions and 726 deletions
+7 -7
View File
@@ -1,4 +1,4 @@
// Package memory implements the storage interface for a Chihaya
// Package memory implements the storage interface for a Conf
// BitTorrent tracker keeping peer data in memory.
package memory
@@ -12,14 +12,14 @@ import (
"gopkg.in/yaml.v2"
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/pkg/log"
"github.com/chihaya/chihaya/pkg/stop"
"github.com/chihaya/chihaya/pkg/timecache"
"github.com/chihaya/chihaya/storage"
"github.com/sot-tech/mochi/bittorrent"
"github.com/sot-tech/mochi/pkg/log"
"github.com/sot-tech/mochi/pkg/stop"
"github.com/sot-tech/mochi/pkg/timecache"
"github.com/sot-tech/mochi/storage"
)
// Name is the name by which this peer store is registered with Chihaya.
// Name is the name by which this peer store is registered with Conf.
const Name = "memory"
// Default config constants.
+2 -2
View File
@@ -1,8 +1,8 @@
package memory
import (
"github.com/chihaya/chihaya/storage"
"github.com/chihaya/chihaya/storage/test"
"github.com/sot-tech/mochi/storage"
"github.com/sot-tech/mochi/storage/test"
"testing"
"time"
)