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
{{ message }}
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.
We have a way to build plugins directly into the go-ipfs binary, this would allow users of windows and macOS to use this code natively, but would require they recompile. It also requires a little bit of changes in this package. Notably, we need to separate the 'package main' plugin code from the rest of the plugin scaffolding. And would end up with the main plugin file looking like:
package main
import (
"ipldethpluginimportpath"
)
var Plugins = ipldeth.Plugins
Adopting this option naively (moving the core of the plugin out of main package and providing separate main package) would allow much easier build of such plugin as pre-loaded plugin. It would be just changing a line in go-ipfs preload_list instead of having to rewrite files in this repo.
We have a way to build plugins directly into the go-ipfs binary, this would allow users of windows and macOS to use this code natively, but would require they recompile. It also requires a little bit of changes in this package. Notably, we need to separate the 'package main' plugin code from the rest of the plugin scaffolding. And would end up with the main plugin file looking like:
See https://github.com/ipfs/go-ipfs/blob/master/plugin/loader/preload_list and other code in that directory.
cc @Kubuxu to help out.
The text was updated successfully, but these errors were encountered: