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
+5 -5
View File
@@ -4,16 +4,16 @@ import (
"context"
"errors"
"fmt"
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/middleware"
"github.com/chihaya/chihaya/middleware/pkg/random"
"github.com/chihaya/chihaya/storage"
"github.com/sot-tech/mochi/bittorrent"
"github.com/sot-tech/mochi/middleware"
"github.com/sot-tech/mochi/middleware/pkg/random"
"github.com/sot-tech/mochi/storage"
"gopkg.in/yaml.v2"
"sync"
"time"
)
// Name is the name by which this middleware is registered with Chihaya.
// Name is the name by which this middleware is registered with Conf.
const Name = "interval variation"
func init() {
+1 -1
View File
@@ -3,7 +3,7 @@ package varinterval
import (
"context"
"fmt"
"github.com/chihaya/chihaya/bittorrent"
"github.com/sot-tech/mochi/bittorrent"
"github.com/stretchr/testify/require"
"testing"
)