Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultConfigFile is the default config file name DefaultConfigFile = "config.toml" // DefaultDataDir is the default data directory name DefaultDataDir = "data" // DefaultTokenFile is the default token file name DefaultTokenFile = "token" )
Variables ¶
View Source
var Commands = []*cli.Command{
runCommand,
tokenSubCommand,
userSubCommand,
minerSubCommand,
signerSubCommand,
}
Functions ¶
func GetCli ¶
func GetCli(ctx *cli.Context) (*jwtclient.AuthClient, error)
func GetRepoPath ¶
Types ¶
type FsRepo ¶
type FsRepo struct {
// contains filtered or unexported fields
}
func (*FsRepo) GetDataDir ¶
Click to show internal directories.
Click to hide internal directories.