640 B
640 B
This abomination of code is my attempt to integrate GO inside a Teamspeak 3 plugin.
Because calling C function pointers is not supported in GO there is a lot of back and forth between GO and the C code. I tried to hide the mess as best as i can so that you can have a not so ugly file to work in. Here where all the logic should go. I only tested this on Linux.
Build
Don't forget to pull the submodule and then run make
. Copy the generated ts3_plugin.so
to the Teamspeak 3 install directory inside the plugins
directory e.g. /opt/teamspeak3/plugins
. Start Teamspeak and check if the plugin is loaded.