cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SubscribeChannel is the channel to listen to
	SubscribeChannel string = "immutability.>"
	// DefaultSubject is the non-encrypted channel
	DefaultSubject string = "immutability.all"
	// PublishChannel is the prefix to use for private (encrypted) messages
	PublishChannel string = "immutability."
)

Variables

View Source
var Keybase string

Keybase is the subject to sub/pub to

View Source
var Message string

Message is the subject to sub/pub to

View Source
var Subject string

Subject is the subject to sub/pub to

Functions

func CheckRequiredFlags

func CheckRequiredFlags(flags *pflag.FlagSet) error

CheckRequiredFlags returns an error if a required flag is not set

func Execute

func Execute()

Execute adds all child commands to the root command and 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