Say hello to GoREST v0.3
dev.toΒ·6dΒ·
Discuss: DEV
πŸš€Performance
Preview
Report Post

What’s New Under the Hood?

Plugins

Plugins for all, plugins everywhere, plugins for everything. Whether custom or core features β€” there’s a plugin for that. Want to create your own? Let’s go!

With the release of v0.3, every feature of the GoREST core is now optional and fully configurable.

Each plugin has its own configuration in the gorest.yaml plugins section.

Here’s the list of the first available core plugins:

  • Authentication with JWT support
  • Content-type negotiation
  • Logger
  • Rate limiter
  • Request identifier
  • Security
  • CORS management
  • Health check
  • Benchmark

If you need something specific, you can build your own plugin. Here’s an example of a simple customplugin that calculates request duration time …

Similar Posts

Loading similar posts...