cmd

package
v1.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: Apache-2.0, MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FlagJson = &cli.BoolFlag{
	Name:  "json",
	Usage: "output results in json format",
	Value: false,
}
View Source
var FlagRepo = &cli.StringFlag{
	Name:    "repo",
	Usage:   "repo directory for Boost client",
	Value:   "~/.boost-client",
	EnvVars: []string{"BOOST_CLIENT_REPO"},
}

Functions

func GetAddrInfo

func GetAddrInfo(ctx context.Context, api api.Gateway, maddr address.Address) (*peer.AddrInfo, error)

func PrintJson

func PrintJson(obj interface{}) error

Types

This section is empty.

Directories

Path Synopsis
mocks
Package mocks_booster_http is a generated GoMock package.
Package mocks_booster_http is a generated GoMock package.
lib
filters/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL