mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-24 08:02:32 +02:00
fix string method
This commit is contained in:
parent
c5214c931f
commit
327029beff
@ -56,6 +56,10 @@ func (n *network) Name() string {
|
||||
return n.name
|
||||
}
|
||||
|
||||
func (n *network) String() string {
|
||||
return "local"
|
||||
}
|
||||
|
||||
func (n *network) Connect(node *Node) (Conn, error) {
|
||||
c, err := n.transport.Dial(node.Address)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user