Documentation
¶
Index ¶
Constants ¶
View Source
const PluginName = "emerald"
Variables ¶
View Source
var Handshake = plugin.HandshakeConfig{
ProtocolVersion: 1,
MagicCookieKey: "EMERALD_PLUGIN",
MagicCookieValue: "emerald-plugin",
}
Functions ¶
func NewClientConfig ¶
func NewClientConfig(cmd *exec.Cmd) *plugin.ClientConfig
Types ¶
type Plugin ¶
type Plugin struct {
plugin.NetRPCUnsupportedPlugin
Impl pluginapi.Plugin
}
func (*Plugin) GRPCClient ¶
func (p *Plugin) GRPCClient(ctx context.Context, _ *plugin.GRPCBroker, conn *grpc.ClientConn) (interface{}, error)
func (*Plugin) GRPCServer ¶
Click to show internal directories.
Click to hide internal directories.