Skip to content

kernle32dll/turtleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test Go Reference Go Report Card codecov

turtleware

turtleware is an opinionated framework for creating REST services. It provides pluggable middlewares and some utility methods to simplify life. It uses JWT bearer authentication, and relies heavily on caching.

The framework is built on some core libraries:

Download:

go get github.com/kernle32dll/turtleware

Detailed documentation can be found on pkg.go.dev.

State of the project

turtleware is actively used in productive projects by the author.

Still, this project is still pretty much work-in-progress. Bugs happen, and breaking-changes might occur at any time. Also, only the most recent Go version is supported at any time for now. Code coverage is low, and documentation slim, so be warned.

Getting started

turtleware provides three distinct functionalities:

  1. A set of middlewares, which can be chained individually (e.g., auth)
  2. Composition methods for chaining these middlewares together in a meaningful way (e.g. a GET endpoint)
  3. Optional multi tenancy

For a complete example, look at the main.go in the examples folder.

About

turtleware is an opinionated Go framework for creating REST services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages