Skip to content

Commit

Permalink
gateway: expose commands for js-libp2p delegated routing
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Lars Gierth <[email protected]>
  • Loading branch information
Lars Gierth committed Jan 19, 2018
1 parent 2140aa9 commit 514af5e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,17 @@ var rootROOldSubcommands = map[string]*oldcmds.Command{
"refs": RefsROCmd,
"resolve": ResolveCmd,
"version": VersionCmd,
"dht": &oldcmds.Command{
Subcommands: map[string]*oldcmds.Command{
"findprovs": findProvidersDhtCmd,
"findpeer": findPeerDhtCmd,
},
},
"swarm": &oldcmds.Command{
Subcommands: map[string]*oldcmds.Command{
"connect": swarmConnectCmd,
},
},
}

func init() {
Expand Down

0 comments on commit 514af5e

Please sign in to comment.