plugin

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElectronPlugin

type ElectronPlugin struct {
	hashicorp.NetRPCUnsupportedPlugin
	Impl Plugin
}

func (*ElectronPlugin) GRPCClient

func (p *ElectronPlugin) GRPCClient(ctx context.Context, broker *hashicorp.GRPCBroker, c *grpc.ClientConn) (interface{}, error)

func (*ElectronPlugin) GRPCServer

func (p *ElectronPlugin) GRPCServer(broker *hashicorp.GRPCBroker, s *grpc.Server) error

type Plugin

type Plugin interface {
	OnEnable()
	OnDisable()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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