mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
13 lines
276 B
Go
13 lines
276 B
Go
package validations
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
type PluginRequestValidator interface {
|
|
// Validate performs a request validation based
|
|
// on the data source URL and some of the request
|
|
// attributes (headers, cookies, etc).
|
|
Validate(dsURL string, req *http.Request) error
|
|
}
|