Coder Social home page Coder Social logo

samura1rem1x / gearbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gogearbox/gearbox

0.0 1.0 0.0 246 KB

:gear: gearbox is a web framework written in Go with a focus on high performance and memory optimization

License: MIT License

Go 100.00%

gearbox's Introduction


gearbox ⚙️ is a web framework for building micro services written in Go with a focus on high performance and memory optimization.

Currently, gearbox ⚙️ is under development (not production ready) and built on fasthttp which is up to 10x faster than net/http

In gearbox, we care about peformance and memory which will be used by each method while building things up and how we can improve that. It also takes more time to research about each component that will be used and compare it with different implementations of other open source web frameworks. It may end up writing our own components in an optimized way to achieve our goals

gearbox seeks to be

  • Secure 🔐
  • Fast 🚀
  • Simple 👓
  • Easy to use
  • Lightweight

Supported Go versions & installation

⚙️ gearbox requires version 1.11 or higher of Go (Download Go)

Just use go get to download and install gearbox

go get -u github.com/abahmed/gearbox

Example

package main

import (
  "github.com/abahmed/gearbox"
  "github.com/valyala/fasthttp"
)

func main() {
  // Setup gearbox
  gearbox := gearbox.New()
  
  // Define your handlers
  gearbox.Get("/hello", func(ctx *fasthttp.RequestCtx) {
	ctx.Response.SetBodyString("Hello World!")
  })

  // Start service
  gearbox.Start(":3000")
}

Contribute & Support

Check Our Wiki for more information about gearbox and how to contribute

Contributors

Get in touch!

Feel free to Join us on Gitter, or email us at [email protected] if you have questions, or suggestions

License

gearbox is licensed under MIT License

Logo is created by Mahmoud Sayed and distributed under Creative Commons License

Third-party library licenses

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.