mirror of
https://github.com/grafana/grafana.git
synced 2025-09-22 17:02:52 +08:00
Plugins: Optionally preload some plugins during frontend app boot (#15266)
* auto load * update comments * gofmt * use preload from json * fix formatting * change general plugin loader to app * Refactoring: Plugin preloading #15266
This commit is contained in:

committed by
Torkel Ödegaard

parent
5e48750868
commit
d6887bf77f
@ -46,6 +46,7 @@ type PluginBase struct {
|
||||
Module string `json:"module"`
|
||||
BaseUrl string `json:"baseUrl"`
|
||||
HideFromList bool `json:"hideFromList,omitempty"`
|
||||
Preload bool `json:"preload"`
|
||||
State PluginState `json:"state,omitempty"`
|
||||
|
||||
IncludedInAppId string `json:"-"`
|
||||
|
Reference in New Issue
Block a user