Re: [go-nuts] Some questions about go plugin

2019-04-25 Thread Kurtis Rader
On Thu, Apr 25, 2019 at 8:59 PM xu wrote: > I recently built an app using go plugin, but I have some questions about > "plugin cannot be closed", why can't plugin be uninstalled? > Try googling "go plugin unload". The first result for me is https://github.com/golang/go/issues/20461 and there

[go-nuts] Some questions about go plugin

2019-04-25 Thread Tamás Gulácsi
Use something more separated than a dll/so if it changes frequently. For example github.com/hashicorp/go-plugin starts the given executable and communicates with it through a domain socket. That way you can easily restart the plugin as frequently as you wish. -- You received this message

[go-nuts] Some questions about go plugin

2019-04-25 Thread xu
Dear all: I recently built an app using go plugin, but I have some questions about "plugin cannot be closed", why can't plugin be uninstalled? The application I build needs to load and unload the plugin frequently to call the changed external logic (this part of the logic changes frequently).