3 ms·
There are many projects doing the exact same thing. Here's one approach from myself, but haven't updated since 2019: https://github.com/philippgille/serve http
by PhilippGille 3y ago
There are many projects doing the exact same thing. Here's one approach from myself, but haven't updated since 2019:
https://github.com/philippgille/serve https://github.com/philippgille/serve
One difference is that it can create a TLS cert for you, instead of having to supply one via CLI arg.
I don't recommend using it in its current form though due to its (the compiled binaries') Go version being outdated.