This is an effort to rewrite Wii Mail legacy PHP scripts into golang. Some reasons why:
apache2
has the fun tendency to go overboard on memory usage.go
is fun.
The source is entirely here, with each individual cgi component in their own file.
A Dockerfile
is available to create an image. You can use docker-compose.yml
to develop on this specific component with its own mysql, or use something that doesn't yet exist to develop on RC24 as a whole.
You can use docker-compose up
to start up both MariaDB and Mail-Go.
You're welcome to POST /patch
with a nwc24msg.cfg
under form key uploaded_config
.
We use Go's 1.11+ module feature. Make sure you have this enabled. For more information, see the Go wiki.
Thanks to Disconnect24 contributors that wrote the code, currently under a forked repo.