mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
First part of #66889 moving cleaning of call resource response headers within plugin management client.
12 lines
280 B
Go
12 lines
280 B
Go
package clientmiddleware
|
|
|
|
import (
|
|
"github.com/grafana/grafana-plugin-sdk-go/backend"
|
|
)
|
|
|
|
type callResourceResponseSenderFunc func(res *backend.CallResourceResponse) error
|
|
|
|
func (fn callResourceResponseSenderFunc) Send(res *backend.CallResourceResponse) error {
|
|
return fn(res)
|
|
}
|