beehive

module
v0.1.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2022 License: BSD-3-Clause-Clear

README

BeeHive 🐝🐝🐝

BeeHive is a highly opinionated performant HTTP router with a series of middleware and utilities for production ready robust systems.

Less is more. As such the router has 0 dependencies and all middleware in the main beehive package only use core features and interfaces where other packages can be used up to the users' discretion.

Features

  • 🍯 Sweet and simple
  • 0 dependencies
  • 0 memory allocation routing
  • Route grouping, prefixing
  • Wildcard matching
  • Middleware and handler chaining
  • Fast and performant

Usage

Fetch it using the latest Golang preferred way.

Example

To see side by side comparison of BeeHive and other Go routers, check out the individual "Rosetta" docs:

For some classic examples:

// better example coming soon™

Version

Everything until v1.0.0 will be considered unstable and the API may introduce breaking changes in any minor or patch release. The v1.0.0 release will be considered stable and the API will not introduce any breaking changes. Any new features will be introduced on a need only basis.

Any addition that can be implemented outside the package should be.

Any addition that uses dependencies must be implemented in a separate package.

Directories

Path Synopsis
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL