add basic client; enable node level routing
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
c0515d4802
commit
ed73f97bd3
16 changed files with 1292 additions and 143 deletions
|
@ -35,7 +35,7 @@ import (
|
|||
|
||||
func main() {
|
||||
app := cli.NewApp()
|
||||
app.Name = "actl"
|
||||
app.Name = "hctl"
|
||||
app.Version = version.BuildVersion()
|
||||
app.Author = "@stellarproject"
|
||||
app.Email = ""
|
||||
|
@ -49,7 +49,7 @@ func main() {
|
|||
Name: "addr, a",
|
||||
Usage: "heimdall grpc address",
|
||||
Value: "tcp://127.0.0.1:9000",
|
||||
EnvVar: "ATLAS_ADDR",
|
||||
EnvVar: "HEIMDALL_ADDR",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "cert, c",
|
||||
|
@ -72,7 +72,11 @@ func main() {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
app.Commands = []cli.Command{}
|
||||
app.Commands = []cli.Command{
|
||||
nodesCommand,
|
||||
peersCommand,
|
||||
routesCommand,
|
||||
}
|
||||
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
logrus.Fatal(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue