protocol

package
v0.0.0-...-d23ef4a Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandProtocol

type CommandProtocol interface {
	Command(name string, params ...string) (string, error)
	GetHelp(name string) (string, error)
	ListCommand() ([]string, error)
}

type PluginStub

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

func StartUpPluginStub

func StartUpPluginStub(plugin *models.Plugin) (*PluginStub, error)

func (*PluginStub) GetPluginInterface

func (p *PluginStub) GetPluginInterface() (CommandProtocol, error)

func (*PluginStub) Stop

func (p *PluginStub) Stop() error

Directories

Path Synopsis
Package grpc is a generated protocol buffer package.
Package grpc is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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