You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to get plugin id before a plugin is loaded?
I have to ensure the plugin that have the same id (but maybe different version) only exists one instance in the memory.
There are two alternative solutions:
I can define a method, and call the method to get plugin's id, but it's not a good design.
I can packed the metadata as json with the wasm file into a zip, and read the metadata file before load the plugin. However, go-plugin not support load plugin from memory, so I must extract the wasm file to somewhere before I can load it
The text was updated successfully, but these errors were encountered:
Is it possible to get plugin id before a plugin is loaded?
I have to ensure the plugin that have the same id (but maybe different version) only exists one instance in the memory.
There are two alternative solutions:
go-plugin
not support load plugin from memory, so I must extract the wasm file to somewhere before I can load itThe text was updated successfully, but these errors were encountered: