Plugins: Add SDK stream handler support to plugin.Client (#41650)

* add stream handler support to plugin.Client

* nil instead of empty resp

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* nil instead of empty resp #2

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
This commit is contained in:
Will Browne
2021-11-15 14:25:13 +01:00
committed by GitHub
co-authored by Marcus Efraimsson
parent a840e9612e
commit 8ea75c9401
5 changed files with 32 additions and 6 deletions
+1
View File
@@ -54,6 +54,7 @@ type UpdateInfo struct {
type Client interface {
backend.QueryDataHandler
backend.CheckHealthHandler
backend.StreamHandler
// CallResource calls a plugin resource.
CallResource(pCtx backend.PluginContext, ctx *models.ReqContext, path string)