Documentation
¶
Index ¶
- Variables
- func ADKCmdSetup(c *cobra.Command)
- func IPCmdSetup(c *cobra.Command)
- func LogSetup(verbose bool)
- func PreRunLogSetupFn(cmd *cobra.Command, args []string)
- func ReqCmdSetup(c *cobra.Command)
- func RootCmdSetupFlags(cmd *cobra.Command)
- func ServerCmdSetup(c *cobra.Command)
- func VersionCmdGet(withADKXDPLine bool) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
View Source
var ADKCmd = &cobra.Command{ Use: "adk", Short: "Anti DoS Knocking utilities", Run: adkCmdRunFn, PreRun: PreRunLogSetupFn, }
View Source
var ADKProofCmd = &cobra.Command{ Use: "proof <ADK secret>", Short: "Generate ADK proof", Run: adkProofCmdRunFn, PreRun: PreRunLogSetupFn, Args: cobra.ExactArgs(1), }
View Source
var ADKSecretCmd = &cobra.Command{ Use: "secret", Short: "Generate ADK (encoded) secret", Run: adkSecretCmdRunFn, PreRun: PreRunLogSetupFn, }
View Source
var IPCmd = &cobra.Command{ Use: "ip", Short: "Returns the client's public IPv4 and IPv6 address", Run: ipCmdRunFn, PreRun: PreRunLogSetupFn, }
View Source
var ReqCmd = &cobra.Command{ Use: "req <OSPA file>", Short: "Send an OpenSPA request packet", Run: reqCmdRunFn, PreRun: PreRunLogSetupFn, }
View Source
var ServerCmd = &cobra.Command{ Use: "server", Short: "Start OpenSPA server", Run: serverCmdRunFn, PreRun: PreRunLogSetupFn, }
Functions ¶
func ADKCmdSetup ¶
func IPCmdSetup ¶
func PreRunLogSetupFn ¶
func ReqCmdSetup ¶
func RootCmdSetupFlags ¶
func ServerCmdSetup ¶
func VersionCmdGet ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.