plugin

package
v0.0.0-...-d3948d2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRouter

func GetRouter(srv *httpex.Server) *mux.Router

func NewApp

NewApp creates a new example *App instance.

Types

type App

type App struct {
	backend.CallResourceHandler
}

App is an example app backend plugin which can respond to data queries.

func (*App) CheckHealth

CheckHealth handles health checks sent from Grafana to the plugin.

func (*App) Dispose

func (a *App) Dispose()

Dispose here tells plugin SDK that plugin wants to clean up resources when a new instance created.

Jump to

Keyboard shortcuts

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