Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClaimCommands = []cli.Command{}
View Source
var DbCommands = []cli.Command{{ Name: "db", Usage: "operate with database", Subcommands: []cli.Command{ { Name: "rawdump", Usage: "dump database raw key values", Action: cmd.WithCfg(func(c *cli.Context, cfg *config.Config) error { return cmd.CmdDbRawDump(c, cfg.Storage.Path) }), }, { Name: "ipfsexport", Usage: "export database values to ipfs", Action: cmd.WithCfg(func(c *cli.Context, cfg *config.Config) error { return cmd.CmdDbIPFSexport(c, cfg.Storage.Path) }), }, }, }}
View Source
var ServerCommands = []cli.Command{ { Name: "init", Aliases: []string{}, Usage: "create keys and identity for the server", Action: cmd.CmdNewIssuer, }, { Name: "start", Aliases: []string{}, Usage: "start the server", Action: cmd.WithCfg(func(c *cli.Context, cfg *config.Config) error { return cmd.CmdStart(c, cfg, endpoint.Serve) }), }, { Name: "sync", Aliases: []string{}, Usage: "sync the identity state with the smart contract", Action: cmd.WithCfg(cmd.CmdSync), }, { Name: "eth", Usage: "create and manage eth wallet", Subcommands: []cli.Command{{ Name: "new", Aliases: []string{}, Usage: "create new Eth Account Address", Action: cmd.CmdNewEthAccount, }, { Name: "import", Aliases: []string{}, Usage: "import Eth Account Private Key", Action: cmd.CmdImportEthAccount, }}, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.