rpc

package
v6.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2015 License: Apache-2.0 Imports: 10 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

This section is empty.

Functions

func RunMethodIfExists

func RunMethodIfExists(coreCommandRunner *cli.App, args []string, outputCapture terminal.OutputCapture, terminalOutputSwitch terminal.TerminalOutputSwitch, pluginList map[string]plugin_config.PluginMetadata) bool

Types

type CliRpcCmd

type CliRpcCmd struct {
	PluginMetadata *plugin.PluginMetadata
	// contains filtered or unexported fields
}

func (*CliRpcCmd) CallCoreCommand

func (cmd *CliRpcCmd) CallCoreCommand(args []string, retVal *bool) error

func (*CliRpcCmd) DisableTerminalOutput

func (cmd *CliRpcCmd) DisableTerminalOutput(disable bool, retVal *bool) error

func (*CliRpcCmd) GetOutputAndReset

func (cmd *CliRpcCmd) GetOutputAndReset(args bool, retVal *[]string) error

func (*CliRpcCmd) SetPluginMetadata

func (cmd *CliRpcCmd) SetPluginMetadata(pluginMetadata plugin.PluginMetadata, retVal *bool) error

type CliRpcService

type CliRpcService struct {
	Pinged bool
	RpcCmd *CliRpcCmd
	// contains filtered or unexported fields
}

func NewRpcService

func NewRpcService(commandRunner *cli.App, outputCapture terminal.OutputCapture, terminalOutputSwitch terminal.TerminalOutputSwitch) (*CliRpcService, error)

func (*CliRpcService) Port

func (cli *CliRpcService) Port() string

func (*CliRpcService) Start

func (cli *CliRpcService) Start() error

func (*CliRpcService) Stop

func (cli *CliRpcService) Stop()

Jump to

Keyboard shortcuts

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