tsgo/README.md

6 lines
640 B
Markdown
Raw Normal View History

2020-09-05 12:13:53 +00:00
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](src/go/tsgo/tsgo.go) 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.