The resource loading... loading...

The trustee has a little doubt.

Author: bense, Created: 2021-04-28 18:36:27, Updated:

There's a little question in the code: the host receives a message from the server written in go and starts a new bot.exec.CommandWhat is the name of the app that is used to identify the boot process?

Ideally go implement hosts, policies can also provide go language writing, then generate plugins, hosts update policies to local, bot loads

func RunStrategy(){ … p, err := plugin.Open("./logs/plugin/strategy_XXXXX.so") if err != nil { panic(err) }
main, err := p.Lookup(“StrategyMain”) main.(func())() … }


More

The grassThe bottom layer is packaged, and if it supports Go, it's packaged separately.