It's like mail in PHP, but Go.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
patch Update Docker stuff (thanks Snoot) and fix patch site Aug 11, 2018
schema Add inbound parse May 28, 2018
.gitattributes Mail-Go v1.2 - Official Release for RC24 - Please Read (#26) Aug 11, 2018
.gitignore
Dockerfile
LICENSE be free my files Nov 25, 2017
README.md
account.go
auth.go Fix title patching + mail auth Apr 21, 2018
check.go Fix key decoding Oct 28, 2018
delete.go Add optional Sentry integration May 9, 2018
docker-compose.yml Update Docker stuff (thanks Snoot) and fix patch site Aug 11, 2018
get.sh Mail-Go v1.2 - Official Release for RC24 - Please Read (#26) Aug 11, 2018
inbound_parse.go Fix function name Oct 13, 2018
main.go
receive.go Add inbound parse May 28, 2018
send.go Mail-Go v1.2 - Official Release for RC24 - Please Read (#26) Aug 11, 2018
utils.go
wiimail.go Mail-Go v1.2 - Official Release for RC24 - Please Read (#26) Aug 11, 2018

README.md

Mail-Go

License Production List Go Report Card

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.

How to develop

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.

How can I use the patcher for my own usage?

You're welcome to POST /patch with a nwc24msg.cfg under form key uploaded_config.

What should I do if I'm adding a new dependency?

There's a get.sh script that has all major external dependencies. This allows us to cache go get. If you're adding another dependency, it's recommended you add that to the script.