grpcplugin

package
v0.0.85-test Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackendPlugin

func NewBackendPlugin(pluginID, executablePath string) backendplugin.PluginFactoryFunc

NewBackendPlugin creates a new backend plugin factory used for registering a backend plugin.

func NewRendererPlugin

func NewRendererPlugin(pluginID, executablePath string, startFn StartRendererFunc) backendplugin.PluginFactoryFunc

NewRendererPlugin creates a new renderer plugin factory used for registering a backend renderer plugin.

Types

type PluginDescriptor

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

PluginDescriptor is a descriptor used for registering backend plugins.

type StartRendererFunc

type StartRendererFunc func(pluginID string, renderer pluginextensionv2.RendererPlugin, logger log.Logger) error

StartRendererFunc callback function called when a renderer plugin is started.

Jump to

Keyboard shortcuts

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