cmd

package
v0.0.0-...-552d5ff Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GitCommit is the git reference injected at build
	GitCommit string
)

Functions

func Execute

func Execute()

Execute kicks off the command line

func RunWithCtx

func RunWithCtx(run func(ctx context.Context, cmd *cobra.Command, args []string)) func(cmd *cobra.Command, args []string)

RunWithCtx will execute a command within a context and provide cancelation on OS Signals

Types

type ChatMessage

type ChatMessage struct {
	Message string `json:"message,omitempty"`
	Name    string `json:"name,omitempty"`
}

ChatMessage is the structure of the messages to send and receive from the Topic / Subscription

type JoinParams

type JoinParams struct {
	// contains filtered or unexported fields
}

JoinParams are the parameters for the join command

Jump to

Keyboard shortcuts

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