Skip to content

Commit

Permalink
Softly connect to smx-Morgan cwgo-pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
smx-Morgan committed Oct 19, 2024
1 parent 7c4fcdb commit c470e85
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion etcd_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
package etcd

import (
"net"

"github.com/cloudwego-contrib/cwgo-pkg/registry/etcd/etcdkitex"
"github.com/cloudwego/kitex/pkg/registry"
"github.com/kitex-contrib/registry-etcd/retry"
"net"
)

// NewEtcdRegistry creates an etcd based registry.
Expand Down
3 changes: 2 additions & 1 deletion option.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
package etcd

import (
"github.com/cloudwego-contrib/cwgo-pkg/registry/etcd/etcdkitex"
"time"

"github.com/cloudwego-contrib/cwgo-pkg/registry/etcd/etcdkitex"
)

// Option sets options such as username, tls etc.
Expand Down
3 changes: 2 additions & 1 deletion retry/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
package retry

import (
"github.com/cloudwego-contrib/cwgo-pkg/registry/etcd/etcdkitex/retry"
"time"

"github.com/cloudwego-contrib/cwgo-pkg/registry/etcd/etcdkitex/retry"
)

// Option is the only struct that can be used to set Retry Config.
Expand Down

0 comments on commit c470e85

Please sign in to comment.