Skip to content

Commit

Permalink
goimport routerclient/client.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Nov 7, 2019
1 parent 6b2d7b8 commit 7404731
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/router/routerclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const rpcName = "RPCGateway"

// Client is an RPC client for router.
type Client struct {
s *dmsg.Stream
s *dmsg.Stream
rpc *rpc.Client
}

Expand All @@ -27,7 +27,7 @@ func NewClient(ctx context.Context, dmsgC *dmsg.Client, pk cipher.PubKey) (*Clie
}

client := &Client{
s: s,
s: s,
rpc: rpc.NewClient(s.Conn),
}
return client, nil
Expand Down

0 comments on commit 7404731

Please sign in to comment.