torque
torque copied to clipboard
`torque` is a web framework for building hypermedia driven applications in Go
The torque framework has some APIs for decoding form data. It might be useful to include support for honeypot fields, as described by Kent Dodds on his blog: https://forms.epicweb.dev/06 >...
The torque framework has its own [`htmx` package](https://github.com/tylermmorton/torque/tree/master/pkg/htmx), mostly containing logic to wire up WebSockets and SSE into torque. Recently a new package was released called [`htmx-go`](https://github.com/angelofallars/htmx-go) that is a...
In the current version of the `torque` API, `Loader` and `Renderer` simply use the `any` type to describe the loader data. ```go type Loader interface { Load(req *http.Request) (any, error)...
Saw that SSE is getting turned on. Is there a chat app example or in fact any examples yet ?
Problem: I often find myself configuring a rate-limiter guard for every route I register with a `torque` app. I think this is a good use case for the `Guard` API...
With the addition of the `EventSource` route module type, there is also basic support for the [htmx sse extension](https://htmx.org/extensions/server-sent-events/) in the [`torque/pkg/htmx`](https://github.com/tylermmorton/torque/blob/master/pkg/htmx/sse.go) sub-package as of https://github.com/tylermmorton/torque/commit/94a167a11092a658f4e33697d16b78bbddc50d58. TODO: - [ ]...
I wanted to check this project out, but it appears the link to the docs is down.