Skip to content

Commit

Permalink
integration polaris driver
Browse files Browse the repository at this point in the history
  • Loading branch information
ychensha committed Dec 4, 2021
1 parent 3414dc1 commit 8f4706f
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 14 deletions.
12 changes: 6 additions & 6 deletions dtmsvr/dtmsvr.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ import (
"net"
"time"

grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
"github.com/yedf/dtm/common"
"github.com/yedf/dtm/dtmcli/dtmimp"
"github.com/yedf/dtm/dtmgrpc/dtmgimp"
"github.com/yedf/dtm/examples"
"github.com/yedf/dtmdriver"
_ "github.com/yedf/dtmdriver-gozero"
_ "github.com/yedf/dtmdriver-protocol1"
"gorm.io/gorm/clause"

grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
"google.golang.org/grpc"
"gorm.io/gorm/clause"

"github.com/yedf/dtm/examples"
_ "github.com/ychensha/dtmdriver-polaris"
_ "github.com/yedf/dtmdriver-gozero"
_ "github.com/yedf/dtmdriver-protocol1"
)

// StartSvr StartSvr
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ require (
github.com/go-sql-driver/mysql v1.6.0
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/lib/pq v1.10.3
github.com/polarismesh/grpc-go-polaris v0.0.0-20211128162137-1a59cd7b5733 // indirect
github.com/prometheus/client_golang v1.11.0
github.com/stretchr/testify v1.7.0
github.com/ychensha/dtmdriver-polaris v0.0.1
github.com/yedf/dtmdriver v0.0.0-20211203060147-29426c663b6e
github.com/yedf/dtmdriver-gozero v0.0.0-20211204083751-a14485949435
github.com/yedf/dtmdriver-protocol1 v0.0.0-20211203060330-285168cdaa00
Expand Down
Loading

0 comments on commit 8f4706f

Please sign in to comment.