mirror of
https://github.com/logos-messaging/go-libp2p-rendezvous.git
synced 2026-01-02 12:53:13 +00:00
Merge pull request #11 from gfanton/feat/update-repo-name
This commit is contained in:
commit
ea43c800bd
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
@ -28,8 +28,8 @@ jobs:
|
||||
version: v1.50.1
|
||||
args: --timeout=10m
|
||||
|
||||
go-tests-on-linux:
|
||||
runs-on: ubuntu-latest
|
||||
go-tests:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
golang: ['1.18', '1.19']
|
||||
|
||||
@ -11,7 +11,7 @@ import (
|
||||
inet "github.com/libp2p/go-libp2p/core/network"
|
||||
"github.com/libp2p/go-libp2p/core/peer"
|
||||
|
||||
pb "github.com/libp2p/go-libp2p-rendezvous/pb"
|
||||
pb "github.com/berty/go-libp2p-rendezvous/pb"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@ -8,7 +8,7 @@ import (
|
||||
"github.com/libp2p/go-libp2p/core/peer"
|
||||
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
|
||||
|
||||
"github.com/libp2p/go-libp2p-rendezvous/test_utils"
|
||||
"github.com/berty/go-libp2p-rendezvous/test_utils"
|
||||
"github.com/libp2p/go-libp2p/core/host"
|
||||
)
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
dbi "github.com/libp2p/go-libp2p-rendezvous/db"
|
||||
dbi "github.com/berty/go-libp2p-rendezvous/db"
|
||||
|
||||
_ "github.com/mutecomm/go-sqlcipher/v4"
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
dbi "github.com/libp2p/go-libp2p-rendezvous/db"
|
||||
dbi "github.com/berty/go-libp2p-rendezvous/db"
|
||||
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
|
||||
|
||||
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module github.com/libp2p/go-libp2p-rendezvous
|
||||
module github.com/berty/go-libp2p-rendezvous
|
||||
|
||||
go 1.18
|
||||
|
||||
|
||||
4
proto.go
4
proto.go
@ -4,8 +4,8 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
db "github.com/libp2p/go-libp2p-rendezvous/db"
|
||||
pb "github.com/libp2p/go-libp2p-rendezvous/pb"
|
||||
db "github.com/berty/go-libp2p-rendezvous/db"
|
||||
pb "github.com/berty/go-libp2p-rendezvous/pb"
|
||||
|
||||
logging "github.com/ipfs/go-log/v2"
|
||||
"github.com/libp2p/go-libp2p/core/peer"
|
||||
|
||||
4
svc.go
4
svc.go
@ -8,8 +8,8 @@ import (
|
||||
inet "github.com/libp2p/go-libp2p/core/network"
|
||||
"github.com/libp2p/go-libp2p/core/peer"
|
||||
|
||||
db "github.com/libp2p/go-libp2p-rendezvous/db"
|
||||
pb "github.com/libp2p/go-libp2p-rendezvous/pb"
|
||||
db "github.com/berty/go-libp2p-rendezvous/db"
|
||||
pb "github.com/berty/go-libp2p-rendezvous/pb"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@ -14,9 +14,9 @@ import (
|
||||
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
db "github.com/libp2p/go-libp2p-rendezvous/db/sqlite"
|
||||
pb "github.com/libp2p/go-libp2p-rendezvous/pb"
|
||||
"github.com/libp2p/go-libp2p-rendezvous/test_utils"
|
||||
db "github.com/berty/go-libp2p-rendezvous/db/sqlite"
|
||||
pb "github.com/berty/go-libp2p-rendezvous/pb"
|
||||
"github.com/berty/go-libp2p-rendezvous/test_utils"
|
||||
)
|
||||
|
||||
func getRendezvousHosts(t *testing.T, ctx context.Context, m mocknet.Mocknet, n int) []host.Host {
|
||||
|
||||
@ -13,7 +13,7 @@ import (
|
||||
"github.com/libp2p/go-libp2p/core/peer"
|
||||
"github.com/multiformats/go-multiaddr"
|
||||
|
||||
pb "github.com/libp2p/go-libp2p-rendezvous/pb"
|
||||
pb "github.com/berty/go-libp2p-rendezvous/pb"
|
||||
)
|
||||
|
||||
type client struct {
|
||||
|
||||
@ -6,8 +6,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
pb "github.com/berty/go-libp2p-rendezvous/pb"
|
||||
ggio "github.com/gogo/protobuf/io"
|
||||
pb "github.com/libp2p/go-libp2p-rendezvous/pb"
|
||||
"github.com/libp2p/go-libp2p/core/host"
|
||||
inet "github.com/libp2p/go-libp2p/core/network"
|
||||
"github.com/libp2p/go-libp2p/core/peer"
|
||||
|
||||
@ -7,9 +7,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
rendezvous "github.com/libp2p/go-libp2p-rendezvous"
|
||||
db "github.com/libp2p/go-libp2p-rendezvous/db/sqlite"
|
||||
"github.com/libp2p/go-libp2p-rendezvous/test_utils"
|
||||
rendezvous "github.com/berty/go-libp2p-rendezvous"
|
||||
db "github.com/berty/go-libp2p-rendezvous/db/sqlite"
|
||||
"github.com/berty/go-libp2p-rendezvous/test_utils"
|
||||
"github.com/libp2p/go-libp2p/core/host"
|
||||
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user