endpoint

package
v0.0.0-...-73c7f1b Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2016 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

Command represents the endpoint command.

func New

func New() *Command

New creates a new endpoint command.

func (*Command) Execute

func (c *Command) Execute(cmd *cobra.Command, args []string)

Execute represents the cobra run method.

func (*Command) New

func (c *Command) New() *cobra.Command

New creates a new cobra command for the endpoint command.

func (*Command) SetTextCommand

func (c *Command) SetTextCommand(textCommand *text.Command)

SetTextCommand sets the text subcommand for the endpoint command.

func (*Command) TextCommand

func (c *Command) TextCommand() *text.Command

TextCommand returns the text subcommand of the endpoint command.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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