内容简介:gearboxIn
gearbox
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
:closed_lock_with_key: - Fast
:rocket: - Simple
:eyeglasses: - Easy to use
- Lightweight
Supported Go versions & installation
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 gearbox@googlegroups.com 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
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
高质量程序设计艺术
斯皮内利斯 / 韩东海 / 人民邮电出版社 / 2008-1 / 55.00元
在本书中,作者回归技术层面。从Apache web server、BSD版本的Unix system、ArgoUMl、ACE网络编程库等著名开源软件中选取了大量真实C、C++和java语言源代码,直观而深刻的阐述了代码中可能存在的各种质量问题,涉及可靠性、安全性、时间性和空间性、可移植性、可维护性以及浮点运算等方面,很多内容都市独辟蹊径,发前人所未发。正因如此,本书继作者的《代码阅读》之后在获Jo......一起来看看 《高质量程序设计艺术》 这本书的介绍吧!