Even if I'm a big Rust fan and user, what you are describing is exactly the use case that Go is designed for, especially since 1.16 with embed[0].
The big plus is that you can even configure Go to automate TLS certs[1].
[0] https://blog.golang.org/go1.16
[1] https://github.com/skerkour/bloom-legacy/blob/27908e44dd45b3...