feat(plugins): made panels work as plugins

This commit is contained in:
Torkel Ödegaard
2015-11-21 13:46:18 +01:00
parent bd6e2d6ca4
commit 4a69de1f30
51 changed files with 113 additions and 79 deletions

View File

@ -15,6 +15,13 @@ type DataSourcePlugin struct {
StaticRootConfig *StaticRootConfig `json:"staticRoot"`
}
type PanelPlugin struct {
Type string `json:"type"`
Name string `json:"name"`
Module string `json:"module"`
StaticRootConfig *StaticRootConfig `json:"staticRoot"`
}
type StaticRootConfig struct {
Url string `json:"url"`
Path string `json:"path"`