u/toofishes

▲ 34 r/golang

Using HTTP/2 Cleartext for a server in Go 1.24+

If you're running a Golang service that uses SSE or needs to handle a lot of requests, you may want to look into supporting HTTP/2 over cleartext as long as you are behind some sort of load balancer that supports it. I wrote up a quick post showing how to do it in newer Go versions where it is much easier than before. We use Google Cloud Run, and I've included some config examples for that as well.

clarityboss.com
u/toofishes — 21 hours ago
▲ 30 r/golang

Tiptap is a great frontend library for creating and manipulating rich text content, but most examples show it being used with a Node-based backend, rather than Go. I wrote up our experience of how to get Tiptap to play nice with a Go backend server, along with a lot of inline code snippets and a gist with the backend code. Happy to answer any other questions I may have missed in writing it up.

Even if you don't use the Tiptap editor, hopefully the idea of a sidecar container is helpful to someone trying to solve a similar problem of allowing Typescript/Node code to interact with Go.

clarityboss.com
u/toofishes — 14 days ago