Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Method = &cli.StringFlag{ Name: "method", Aliases: []string{"m"}, Category: CategoryHttp, Usage: flags.UsageOneOfOption(common.HTTPMethodTypes), } Domains = &cli.StringSliceFlag{ Name: flags.Domains.Name, Aliases: flags.Domains.Aliases, Category: CategoryHttp, } Paths = &cli.StringSliceFlag{ Name: flags.Paths.Name, Aliases: flags.Paths.Aliases, Category: CategoryHttp, } Generate = &cli.BoolFlag{ Name: "generate-domain", Aliases: []string{"g"}, Usage: "Generates a new domain if no domains found", Category: CategoryHttp, } )
View Source
var ( Protocol = &cli.StringFlag{ Name: "protocol", Aliases: []string{"pr"}, Category: CategoryP2P, Usage: "Protocol to use for the endpoint, either service name or protocol", } Command = &cli.StringFlag{ Name: "command", Aliases: []string{"cmd"}, Category: CategoryP2P, Usage: "Command to execute", } )
View Source
var ( CategoryHttp = "HTTP(S)" CategoryP2P = "P2P" CategoryPubSub = "PUBSUB" )
View Source
var Channel = &cli.StringFlag{ Name: "channel", Aliases: []string{"ch"}, Category: CategoryPubSub, Usage: "Channel to subscribe to", }
View Source
var Type = &cli.StringFlag{ Name: "type", Usage: flags.UsageOneOfOption(common.FunctionTypes), }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.