cmd

package
v0.0.0-...-f4f6315 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2018 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "coniksclient",
	Short: "CONIKS client reference implementation in Go",
	Long: `
________  _______  __    _  ___  ___   _  _______
|       ||       ||  |  | ||   ||   | | ||       |
|       ||   _   ||   |_| ||   ||   |_| ||  _____|
|       ||  | |  ||       ||   ||      _|| |_____
|      _||  |_|  ||  _    ||   ||     |_ |_____  |
|     |_ |       || | |   ||   ||    _  | _____| |
|_______||_______||_|  |__||___||___| |_||_______|
`,
}

RootCmd represents the base "testclient" command when called without any subcommands (register, lookup, ...).

View Source
var ServerCmd = &cobra.Command{
	Use:   "serve",
	Short: "Run the CONIKS client as a local http server",
	Long:  "Run the CONIKS client as a local http server, transferring the requests to the CONIKS Server",
	Run: func(cmd *cobra.Command, args []string) {
		startLocalHTTPServer(cmd)
	},
}

ServerCmd represents the base "testclient" command when called without any subcommands (register, lookup, ...).

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL