1
0
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:
Asim Aslam 2019-07-09 16:44:43 +01:00
parent c5214c931f
commit 327029beff

View File

@ -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 {