rpc

package
v6.6.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: Apache-2.0 Imports: 9 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 GetAllPluginCommands

func GetAllPluginCommands() ([]plugin.Command, error)

func RunCommandExists

func RunCommandExists(methodName string, location string) (bool, error)

func RunListCmd

func RunListCmd(pluginName, location, cliServicePort string) ([]plugin.Command, error)

func RunMethodIfExists

func RunMethodIfExists(cmdName string) (bool, error)

Types

type CliRpcCmd

type CliRpcCmd struct {
	ReturnData interface{}
}

func (*CliRpcCmd) SetName

func (cmd *CliRpcCmd) SetName(pluginName string, retVal *bool) error

type CliRpcService

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

func NewRpcService

func NewRpcService() (*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