/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

xnacly.me
| | www.alexedwards.net
0.9 parsecs away

Travel
| | [AI summary] The article demonstrates various Go web application techniques including HTTP response handling, templating, and file serving with examples and code snippets.
| | danielms.site
1.5 parsecs away

Travel
| | I build things and drink coffee.
| | aarol.dev
1.8 parsecs away

Travel
| | Anyone who has implemented a simple HTTP 1.1 server can tell you that it is a really simple protocol. Basically, it's a text file that has some specific ...
| | jbrandhorst.com
24.5 parsecs away

Travel
| Putting it all together As we touched upon earlier, we generate a package from the generated JS (meta, right?), which can be served from the server. We'll create a new file, main.go, in which we can spin up a server, serve the frontend and the gRPC backend. Much of the logic in this file is inspired by the excellent blog post put together by Brandon Philips over at CoreOS. We're using his elegant solution to serve both the HTTP API and the gRPC API on the same port.