Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HttpClientCmd = cli.Command{ Action: cli.ShowSubcommandHelp, Name: "httpclient", Usage: "http client cli", ArgsUsage: "[arguments ...]", Description: "cli management commands can be use to invitation,connect,sendmsg,reqcredential," + "reqpresentation,querycredential,querypresentation.you can use ./agent-mercury httpclient --help to view information", Subcommands: []cli.Command{ { Action: newInvitation, Name: "invitation", Usage: "new invitation", Description: "Generate Invitation", Flags: []cli.Flag{ cmd.RpcUrlFlag, cmd.HttpClientFlag, cmd.WalletFileFlag, cmd.FromDID, cmd.ToDID, cmd.InvitationFlag, }, }, { Action: connection, Name: "connect", Usage: "connect", Description: "Connect Data", Flags: []cli.Flag{ cmd.RpcUrlFlag, cmd.HttpClientFlag, cmd.WalletFileFlag, cmd.FromDID, cmd.ToDID, cmd.ConnectionFlag, }, }, { Action: sendBasicMsg, Name: "sendbasicmsg", Usage: "send basic msg", Description: "send basic msg data", Flags: []cli.Flag{ cmd.RpcUrlFlag, cmd.HttpClientFlag, cmd.WalletFileFlag, cmd.FromDID, cmd.ToDID, cmd.SendMsgFlag, }, }, { Action: queryBasicMsg, Name: "querybasicmsg", Usage: "query basic msg", Description: "query basic message", Flags: []cli.Flag{ cmd.RpcUrlFlag, cmd.HttpClientFlag, cmd.WalletFileFlag, cmd.FromDID, cmd.ToDID, cmd.ReadLatestMsgFlag, cmd.RemoveAfterReadFlag, }, }, { Action: reqCredential, Name: "reqcredential", Usage: "req credential", Description: "req credential", Flags: []cli.Flag{ cmd.RpcUrlFlag, cmd.HttpClientFlag, cmd.WalletFileFlag, cmd.FromDID, cmd.ToDID, cmd.ReqCredentialCmd, }, }, { Action: reqPresentation, Name: "reqpresentation", Usage: "req presentation data", Description: "req presentation data", Flags: []cli.Flag{ cmd.RpcUrlFlag, cmd.HttpClientFlag, cmd.WalletFileFlag, cmd.FromDID, cmd.ToDID, cmd.ReqPresentationCmd, }, }, { Action: queryCredential, Name: "querycredential", Usage: "query a stored credential", Description: "query a stored credential", Flags: []cli.Flag{ cmd.HttpClientFlag, cmd.RpcUrlFlag, cmd.FromDID, cmd.ToDID, cmd.CredentialIdFlag, }, }, { Action: queryPresentation, Name: "querypresentation", Usage: "query a stored presentation", Description: "query a stored presentation", Flags: []cli.Flag{ cmd.HttpClientFlag, cmd.RpcUrlFlag, cmd.FromDID, cmd.ToDID, cmd.PresentationIdFlag, }, }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.