3
0
mirror of https://github.com/grafana/grafana.git synced 2025-01-28 09:17:12 -06:00
grafana/pkg/plugins/backendplugin/backendplugin.go

10 lines
300 B
Go
Raw Normal View History

// Package backendplugin contains backend plugin related logic.
package backendplugin
import (
"github.com/grafana/grafana/pkg/infra/log"
)
// PluginFactoryFunc is a function type for creating a Plugin.
type PluginFactoryFunc func(pluginID string, logger log.Logger, env []string) (Plugin, error)